--- a/bitbucket-pipelines.yml Sat Dec 03 13:24:09 2016 +0800
+++ b/bitbucket-pipelines.yml Sat Dec 03 13:24:39 2016 +0800
-i inventory --connection=local --skip-tags=ufw
-t certs,nginx,prosody,turnserver,tram-im
-e 'user=alice dir=/home/alice/files'
- | grep -q 'changed=0.*failed=0'
- && { echo 'Idempotence test passed'; exit 0; }
- || { echo 'Idempotence test failed'; exit 1; }
+ - if grep -q 'changed=0.*failed=0' ansible.log; then
+ echo 'Idempotence test passed'; exit 0;
+ echo 'Idempotence test failed'; exit 1;