summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/omit/runme.sh
blob: e2f3c0274d9f45aeb11f16735a0fe0720bf2f780 (plain)
1
2
3
4
5
6
7
8
9
10
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