diff --git a/supervisord/handlers/main.yml b/supervisord/handlers/main.yml index 3bf89428..be10ba0a 100644 --- a/supervisord/handlers/main.yml +++ b/supervisord/handlers/main.yml @@ -1,5 +1,5 @@ --- -- name: Restart supervisord +- name: restart supervisor service: name: supervisor state: restarted diff --git a/supervisord/tasks/main.yml b/supervisord/tasks/main.yml index 500c5d68..17d7737a 100644 --- a/supervisord/tasks/main.yml +++ b/supervisord/tasks/main.yml @@ -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