From e4f1b37bdd4c581d7e327c41f195b3af84c4f39c Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 22 Apr 2014 08:57:50 -0500 Subject: [PATCH] Get idempotence test working - more testing. --- tests/idempotence.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/idempotence.sh b/tests/idempotence.sh index ba0774d..ea12371 100755 --- a/tests/idempotence.sh +++ b/tests/idempotence.sh @@ -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.