Commit e42f2081 by Xavier Antoviaque

supervisor-xqueue: Reload supervisord immediately after adding config files

To ensure they are taken into account before we try to start the process
through supervisord.
parent b921c6f7
...@@ -34,10 +34,12 @@ ...@@ -34,10 +34,12 @@
src={{ item }}.conf.j2 dest={{ supervisor_cfg_dir }}/{{ item }}.conf src={{ item }}.conf.j2 dest={{ supervisor_cfg_dir }}/{{ item }}.conf
owner={{ supervisor_user }} group={{ common_web_user }} mode=0644 owner={{ supervisor_user }} group={{ common_web_user }} mode=0644
with_items: ['xqueue', 'xqueue_consumer'] with_items: ['xqueue', 'xqueue_consumer']
notify: supervisor | restart supervisor
tags: tags:
- deploy - deploy
- name: xqueue | reload supervisor to allow to start the new services
shell: "{{ supervisor_ctl }} -c {{ supervisor_cfg }} reload"
# Do A Checkout # Do A Checkout
- name: xqueue | git checkout xqueue repo into xqueue_code_dir - name: xqueue | git checkout xqueue repo into xqueue_code_dir
git: dest={{ xqueue_code_dir }} repo={{ xqueue_source_repo }} version={{ xqueue_version }} git: dest={{ xqueue_code_dir }} repo={{ xqueue_source_repo }} version={{ xqueue_version }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment