Commit b669d371 by Jason Bau

minor tweaks to xqueue+worker

parent 78034311
......@@ -19,7 +19,8 @@
- role: 'supervisor'
tags: supervisor
- role: 'edxapp'
celery_worker: True
celery_worker: True
devstack: false
tags: celery
- role: nginx
nginx_sites:
......@@ -29,27 +30,25 @@
- role: xqueue
xqueue_create_db: "no"
tags: xqueue
- role: 'datadog'
tags: datadog
- name: Deploy certs, notifier only to first util machine
hosts: ~tag_Name_util1_stage
sudo: True
gather_facts: True
vars:
secure_dir: '../../../configuration-secure/ansible'
local_dir: "{{secure_dir}}/local"
migrate_db: "no"
vars_files:
- "{{ secure_dir }}/vars/edxapp_stage_vars.yml"
- "{{ secure_dir }}/vars/notifier_stage_vars.yml"
roles:
- certs
#- name: Deploy certs, notifier only to first util machine
# hosts: ~tag_Name_util1_stage
# sudo: True
# gather_facts: True
# vars:
# secure_dir: '../../../configuration-secure/ansible'
# local_dir: "{{secure_dir}}/local"
# migrate_db: "no"
# vars_files:
# - "{{ secure_dir }}/vars/edxapp_stage_vars.yml"
# - "{{ secure_dir }}/vars/notifier_stage_vars.yml"
# roles:
# - certs
# - role: virtualenv
# virtualenv_user: "notifier"
# virtualenv_user_home: "/opt/wwc/notifier"
# virtualenv_name: "notifier"
- notifier
# - notifier
#- name: Deploy certs to first util machine
# hosts: ~tag_Name_util1_stage
......
......@@ -12,6 +12,7 @@
home="{{ xqueue_app_dir }}"
createhome=no
shell=/bin/false
ignore_errors: true
notify:
- xqueue | restart xqueue
......
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