--- a/bitbucket-pipelines.yml Fri Aug 12 19:06:18 2016 +0800
+++ b/bitbucket-pipelines.yml Fri Aug 12 19:21:41 2016 +0800
- ./venv/bin/pip install ansible
+ - ./venv/bin/ansible --version
- echo localhost > inventory
- - ansible-playbook provision/playbook.yml
+ - ./venv/bin/ansible-playbook provision/playbook.yml
-i inventory --syntax-check
- - ansible-playbook provision/playbook.yml
+ - ./venv/bin/ansible-playbook provision/playbook.yml
-i inventory --list-tasks
- - ansible-playbook provision/playbook.yml
+ - ./venv/bin/ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw --verbose
- pgrep -f '/usr/bin/prosody'
- - ansible-playbook provision/playbook.yml
+ - ./venv/bin/ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw
| grep -q 'changed=0.*failed=0'
&& { echo 'Idempotence test passed'; exit 0; }