Download:
child 130:aa9bf9c90aac
parent 128:9fcc3e45dc29
129:ba47544bc028
Anton Shestakov <av6@dwimlabs.net>, Thu, 11 Aug 2016 18:17:43 +0800
pipelines: provide inventory when checking syntax to silence warnings

1 файлов изменено, 5 вставок(+), 3 удалений(-) [+]
bitbucket-pipelines.yml file | annotate | diff | comparison | revisions
--- a/bitbucket-pipelines.yml Thu Aug 11 14:14:37 2016 +0800
+++ b/bitbucket-pipelines.yml Thu Aug 11 18:17:43 2016 +0800
@@ -9,12 +9,14 @@
- pip install ansible
- ansible --version
- - ansible-playbook provision/playbook.yml --syntax-check -vvvv
- - ansible-playbook provision/playbook.yml --list-tasks -vvvv
+ - echo localhost > inventory
+ - ansible-playbook provision/playbook.yml
+ -i inventory --syntax-check
+ - ansible-playbook provision/playbook.yml
+ -i inventory --list-tasks
- apt-get update && apt-get install -y sudo supervisor
- service supervisor restart
- - echo localhost > inventory
- ansible-playbook provision/playbook.yml
-i inventory --connection=local --skip-tags=ufw -vvvv
- pgrep -f 'fruitbar/venv/bin/gunicorn'