You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/omit/runme.sh

12 lines
422 B
Bash

#!/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