Commit e95ef117 by e0d

General clean-up.

parent 50750f4b
......@@ -21,19 +21,13 @@
notify:
- notifier | restart notifier
tags:
- notifier
- deploy
- install
- update
- name: notifier | source repo group perms
file:
path={{ NOTIFIER_SOURCE_REPO }} mode=2775 state=directory
tags:
- notifier
- deploy
- install
- update
- name: notifier | install application requirements
pip:
......@@ -45,13 +39,7 @@
- notifier | restart notifier-scheduler
- notifier | restart notifier-celery-workers
tags:
- notifier
- deploy
- install
- update
- name: notifier | debug
debug: msg="supervisorctl is defined as {{ supervisor_ctl }}"
- name: notifier | syncdb
shell: >
......@@ -62,7 +50,4 @@
- notifier | restart notifier-scheduler
- notifier | restart notifier-celery-workers
tags:
- notifier
- deploy
\ No newline at end of file
- install
- update
......@@ -85,21 +85,17 @@
file:
path="{{ NOTIFIER_HOME }}/bin" mode=2775 state=directory
- name: common | create supervisor log directoy
file:
path={{NOTIFIER_SUPERVISOR_LOG_DEST }} mode=2750 state=directory
- name: notifier | supervisord config for celery workers
template: >
src=edx/app/supervisor/conf.d/notifier-celery-workers.conf.j2
dest=/edx/app/supervisor/conf.d/notifier-celery-workers.conf
dest="{{ supervisor_cfg_dir }}/notifier-celery-workers.conf"
sudo_user: "{{ supervisor_user }}"
notify: notifier | restart notifier-celery-workers
- name: notifier | supervisord config for scheduler
template: >
src=edx/app/supervisor/conf.d/notifier-scheduler.conf.j2
dest=/edx/app/supervisor/conf.d/notifier-scheduler.conf
dest="{{ supervisor_cfg_dir }}/notifier-scheduler.conf"
sudo_user: "{{ supervisor_user }}"
notify: notifier | restart notifier-scheduler
......
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