--- a/bitbucket-pipelines.yml Fri Aug 12 21:48:47 2016 +0800
+++ b/bitbucket-pipelines.yml Fri Aug 12 22:26:01 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; }