ansible/test/integration/targets/roles_arg_spec/runme.sh

16 lines
342 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eux
# Various simple role scenarios
ansible-playbook test.yml -i ../../inventory "$@"
# More complex role test
ansible-playbook test_complex_role_fails.yml -i ../../inventory "$@"
# Test play level role will fail
set +e
ansible-playbook test_play_level_role_fails.yml -i ../../inventory "$@"
test $? -ne 0
set -e