Commit 282501fe by Feanil Patel

One when instead of two.

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