mirror of https://github.com/ansible/ansible.git
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.
25 lines
431 B
Bash
25 lines
431 B
Bash
7 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -ux
|
||
|
|
||
|
|
||
|
# check normal execution
|
||
|
for myplay in normal/*.yml
|
||
|
do
|
||
|
ansible-playbook "${myplay}" -i ../../inventory -vvv "$@"
|
||
|
if test $? != 0 ; then
|
||
|
echo "### Failed to run ${myplay} normally"
|
||
|
exit 1
|
||
|
fi
|
||
|
done
|
||
|
|
||
|
# check overrides
|
||
|
for myplay in override/*.yml
|
||
|
do
|
||
|
ansible-playbook "${myplay}" -i ../../inventory -vvv "$@"
|
||
|
if test $? != 0 ; then
|
||
|
echo "### Failed to run ${myplay} override"
|
||
|
exit 1
|
||
|
fi
|
||
|
done
|