diff options
Diffstat (limited to 'test/integration/targets/omit/runme.sh')
-rwxr-xr-x | test/integration/targets/omit/runme.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/integration/targets/omit/runme.sh b/test/integration/targets/omit/runme.sh new file mode 100755 index 0000000..e2f3c02 --- /dev/null +++ b/test/integration/targets/omit/runme.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -eux + +# positive inheritance works +ANSIBLE_ROLES_PATH=../ ansible-playbook 48673.yml 75692.yml -i ../../inventory -v "$@" + +# ensure negative also works +ansible-playbook -C C75692.yml -i ../../inventory -v "$@" # expects 'foo' not to exist +ansible-playbook C75692.yml -i ../../inventory -v "$@" # creates 'foo' +ansible-playbook -C C75692.yml -i ../../inventory -v "$@" # expects 'foo' does exist |