0001-supervisor-put-process-in-groups-63844.patch
roles/base/files/publik-groups.conf | ||
---|---|---|
1 |
[group:publik-django] |
|
2 |
programs=authentic2-multitenant,bijoe,chrono,combo,hobo,fargo,passerelle,welco,wcs |
|
3 | ||
4 |
[group:publik-uwsgi] |
|
5 |
programs=authentic2-multitenant-uwsgi,bijoe-uwsgi,chrono-uwsgi,combo-uwsgi,hobo-uwsgi,fargo-uwsgi,passerelle-uwsgi,welco-uwsgi,wcs-uwsgi |
roles/base/tasks/main.yml | ||
---|---|---|
237 | 237 |
become: yes |
238 | 238 |
tags: |
239 | 239 |
- tls |
240 | ||
241 |
- name: Process groups supervisor configuration |
|
242 |
copy: |
|
243 |
src: publik-groups.conf |
|
244 |
dest: /etc/supervisor/conf.d/publik-groups.conf |
|
245 |
become: yes |
roles/clean/tasks/main.yml | ||
---|---|---|
30 | 30 |
state: absent |
31 | 31 |
with_dict: "{{apps}}" |
32 | 32 |
become: yes |
33 |
|
|
33 | ||
34 |
- name: delete supervisor process groups conf |
|
35 |
file: |
|
36 |
path: "/etc/supervisor/conf.d/publik-groups.conf" |
|
37 |
state: absent |
|
38 |
with_dict: "{{apps}}" |
|
39 |
become: yes |
|
40 | ||
34 | 41 |
- name: delete supervisor agent conf |
35 | 42 |
file: |
36 | 43 |
path: "/etc/supervisor/conf.d/hobo-agent.conf" |
37 |
- |