Browse Source

Supervisor: handlers name + tags

haproxy_munin
Jérémy Lecour Jérémy Lecour <jlecour@evolix.fr> 2 years ago
parent
commit
549cb2f917
2 changed files with 8 additions and 4 deletions
  1. +1
    -1
      supervisord/handlers/main.yml
  2. +7
    -3
      supervisord/tasks/main.yml

+ 1
- 1
supervisord/handlers/main.yml View File

@@ -1,5 +1,5 @@
---
- name: Restart supervisord
- name: restart supervisor
service:
name: supervisor
state: restarted

+ 7
- 3
supervisord/tasks/main.yml View File

@@ -1,13 +1,17 @@
---
- name: Install supervisord
- name: Install Supervisor
apt:
name: supervisor
tags:
- supervisord

- name: Add http configuration for supvervisord
- name: Add http configuration for Supervisor
copy:
src: http.conf
dest: /etc/supervisor/conf.d/
mode: "0644"
force: no
notify: Restart supervisord
notify: restart supervisor
when: supervisord_enable_http
tags:
- supervisord

Loading…
Cancel
Save