From bbe9066d500b3c7c37bb5280e4280d46f055b525 Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Sat, 1 Apr 2017 16:02:12 -0500 Subject: Final adjustments. --- .travis.yml | 2 +- tests/test.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1f2c376..a829b5f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ env: - distro: ubuntu1604 - distro: ubuntu1404 - distro: ubuntu1204 - - distro: debian8 + # - distro: debian8 script: # Run tests. diff --git a/tests/test.sh b/tests/test.sh index e625951..107d843 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -79,7 +79,7 @@ docker exec --tty $container_id env TERM=xterm ansible-playbook /etc/ansible/rol # Run Ansible playbook again (idempotence test). printf ${green}"Running playbook again: idempotence test"${neutral} idempotence=$(mktemp) -docker exec --tty $container_id ansible-playbook /etc/ansible/roles/role_under_test/tests/$playbook | tee -a $idempotence +docker exec $container_id ansible-playbook /etc/ansible/roles/role_under_test/tests/$playbook | tee -a $idempotence tail $idempotence \ | grep -q 'changed=0.*failed=0' \ && (printf ${green}'Idempotence test: pass'${neutral}"\n") \ -- cgit v1.2.3