Commit e95ef117 by e0d

General clean-up.

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