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/roles_arg_spec/runme.sh

16 lines
342 B
Bash

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