Commit 282501fe by Feanil Patel

One when instead of two.

parent 9d9267e1
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
supervisorctl_path={{ supervisor_ctl }} supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }} config={{ supervisor_cfg }}
state=restarted state=restarted
when: discern_installed is defined when: discern_installed is defined and not disable_edx_services
with_items: with_items:
- discern - discern
- discern_celery - discern_celery
when: not disable_edx_services
...@@ -4,8 +4,7 @@ ...@@ -4,8 +4,7 @@
supervisorctl_path={{ supervisor_ctl }} supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }} config={{ supervisor_cfg }}
state=restarted state=restarted
when: xqueue_installed is defined when: xqueue_installed is defined and not disable_edx_services
with_items: with_items:
- xqueue - xqueue
- xqueue_consumer - xqueue_consumer
when: not disable_edx_services
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