Commit 415702a6 by e0d

working changes for new supervisor scheme.

parent e95ef117
......@@ -38,7 +38,7 @@ NOTIFIER_USER_SERVICE_HTTP_AUTH_USER: "guido"
NOTIFIER_USER_SERVICE_HTTP_AUTH_PASS: "vanrossum"
NOTIFIER_CELERY_BROKER_URL: "django://"
NOTIFIER_SUPERVISOR_LOG_DEST: "{{ COMMON_DATA_DIR }}/logs/supervisor"
NOTIFIER_SUPERVISOR_LOG_DEST: "{{ COMMON_DATA_DIR }}/log/supervisor"
NOTIFER_REQUESTS_CA_BUNDLE: "/etc/ssl/certs/ca-certificates.crt"
......@@ -53,7 +53,6 @@ notifier_debian_pkgs:
- ipython
- pkg-config
- rsyslog
- supervisor
#
# This structure is iterated over in order to build both
......
---
##
## for future compliance, when the API comes on line.
##
- name: notifier | restart notifier-scheduler
supervisorctl: >
name=notifier-scheduler
......
---
- name: notifier | stop notifier-celery-beat
supervisorctl: >
name="{{ item }}"
supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }}
state=present
ignore_errors: yes
sudo_user: "{{ common_web_user }}"
with_items: ['notifier-scheduler','notifier-celery-workers']
tags:
- deploy
# - name: notifier | stop notifier-celery-beat
# supervisorctl: >
# name="{{ item }}"
# supervisorctl_path={{ supervisor_ctl }}
# config={{ supervisor_cfg }}
# state=present
# ignore_errors: yes
# sudo_user: "{{ common_web_user }}"
# with_items: ['notifier-scheduler','notifier-celery-workers']
# tags:
# - deploy
- name: notifier | checkout code
git:
......@@ -19,7 +19,8 @@
sudo: true
sudo_user: "{{ NOTIFIER_USER }}"
notify:
- notifier | restart notifier
- notifier | restart notifier-scheduler
- notifier | restart notifier-celery-workers
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