Commit e7b58325 by Xavier Antoviaque

edxapp-perm-fixes: Stopped edxapp services only need to be started, not restarted

parent 074ae6dd
......@@ -189,23 +189,23 @@
# gather_assets and db migrations
- include: service_variant_config.yml
- name: edxapp | restart the edxapp services (supervisor)
- name: edxapp | start the edxapp services (supervisor)
supervisorctl: >
name="edxapp:{{ item }}"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
state=started
when: celery_worker is not defined
with_items: service_variants_enabled
tags:
- deploy
- name: edxapp | restart the celery worker services (supervisor)
- name: edxapp | start the celery worker services (supervisor)
supervisorctl: >
name="edxapp_worker:{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=restarted
state=started
when: celery_worker is defined
with_items: edxapp_workers
tags:
......
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