Commit aef730a0 by Jason Bau

undefine celery_worker to turn it off

parent 0105aa91
...@@ -28,8 +28,7 @@ ...@@ -28,8 +28,7 @@
- verify - verify
nginx_template_directory: "{{local_dir}}/nginx/templates/" nginx_template_directory: "{{local_dir}}/nginx/templates/"
- role: edxapp - role: edxapp
devstack: False devstack: false
celery_worker: False
- apache - apache
- shibboleth - shibboleth
#- datadog #- datadog
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
supervisorctl_path={{ supervisor_ctl }} supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }} config={{ supervisor_cfg }}
name="edxapp:{{ item }}" name="edxapp:{{ item }}"
when: not devstack and not celery_worker when: not devstack and celery_worker is not defined
sudo_user: "{{ supervisor_service_user }}" sudo_user: "{{ supervisor_service_user }}"
with_items: service_variants_enabled with_items: service_variants_enabled
tags: deploy tags: deploy
......
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
config={{ supervisor_cfg }} config={{ supervisor_cfg }}
name="edxapp:{{ item }}" name="edxapp:{{ item }}"
sudo_user: "{{ supervisor_service_user }}" sudo_user: "{{ supervisor_service_user }}"
when: not devstack and not celery_worker when: not devstack and celery_worker is not defined
with_items: service_variants_enabled with_items: service_variants_enabled
tags: deploy tags: deploy
......
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