mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2025-01-05 01:20:18 +01:00
Get idempotence test working - more testing.
This commit is contained in:
parent
626578ea9d
commit
e4f1b37bdd
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@
|
||||||
cd ../
|
cd ../
|
||||||
|
|
||||||
# Run playbook, and exit with 0 status if 'changed=0' found (good).
|
# Run playbook, and exit with 0 status if 'changed=0' found (good).
|
||||||
|
pwd
|
||||||
|
echo "ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo"
|
||||||
ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo | grep -q 'changed=0' && exit 0
|
ansible-playbook -i tests/inventory tests/$SITE --connection=local --sudo | grep -q 'changed=0' && exit 0
|
||||||
|
|
||||||
# Exit with a non-zero status if 'changed=0' was not found.
|
# Exit with a non-zero status if 'changed=0' was not found.
|
||||||
|
|
Loading…
Reference in a new issue