Skip to content

Instantly share code, notes, and snippets.

View nickjj's full-sized avatar

Nick Janetakis nickjj

View GitHub Profile
@nickjj
nickjj / ansible-role-test.sh
Last active September 9, 2023 11:44 — forked from geerlingguy/ansible-role-test.sh
Ansible Role Test Shim Script
#!/bin/bash
#
# Ansible role test shim.
#
# Taken from this gist by Jeff Geerling on September 9th 2023:
# https://gist.github.com/geerlingguy/73ef1e5ee45d8694570f334be385e181
#
# Usage: [OPTIONS] ./tests/test.sh
# - distro: a supported Docker distro version (default = "ubuntu2204")
# - playbook: a playbook in the tests directory (default = "test.yml")