Fix to restart supervisord if not service not active.

This commit is contained in:
Dorian 2015-05-20 10:47:07 -04:00
parent b1b6dc5915
commit 07d364b94f
1 changed files with 3 additions and 1 deletions

View File

@ -26,5 +26,7 @@
# TODO Replace with npm installation in the future. # TODO Replace with npm installation in the future.
- name: install bower dependencies in app - name: install bower dependencies in app
command: bower install --allow-root --quiet chdir={{ web_root_path }}/rookeries_webapp command: bower install --allow-root --quiet chdir={{ web_root_path }}/rookeries_webapp
notify: restart uwsgi app notify:
- restart supervisord
- restart uwsgi app
when: deploy_package.stat.exists when: deploy_package.stat.exists