From 718edc6fa284207e711d48a700edfa0996f03c71 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 22 Apr 2014 09:31:45 -0500 Subject: [PATCH] More testing with Travis. --- tests/idempotence.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/idempotence.sh b/tests/idempotence.sh index ea12371..5560f5b 100755 --- a/tests/idempotence.sh +++ b/tests/idempotence.sh @@ -6,13 +6,10 @@ # # @author Jeff Geerling, 2014 -# Change directory up one level (into project root). -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 +ls +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 1