Download:
child 222:3192facc99bc
parent 220:4c0ce2a34d92
221:38f1eefd1eee
Anton Shestakov <av6@dwimlabs.net>, Fri, 12 Aug 2016 19:21:41 +0800
pipelines: of course it's in a virtualenv now

1 файлов изменено, 5 вставок(+), 5 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Fri Aug 12 19:06:18 2016 +0800
+++ b/bitbucket-pipelines.yml Fri Aug 12 19:21:41 2016 +0800
@@ -12,20 +12,20 @@
python-virtualenv
- virtualenv ./venv
- ./venv/bin/pip install ansible
- - ansible --version
+ - ./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'
- pgrep nginx
- pgrep reTurnServer
- - 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; }