Get idempotence test working - more testing.

This commit is contained in:
Jeff Geerling 2014-04-22 08:57:50 -05:00
parent 626578ea9d
commit e4f1b37bdd

View file

@ -10,6 +10,8 @@
cd ../
# 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
# Exit with a non-zero status if 'changed=0' was not found.