diff options
author | Thedro Neely <thedroneely@gmail.com> | 2020-04-01 15:28:43 -0400 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2020-04-01 15:28:43 -0400 |
commit | a5831df1762d74835b1737bd08a5960b8bf7ce2a (patch) | |
tree | 1d3833b251e1fe2b64ad57ebc04e2fbe54577d62 /roles/healthchecks | |
parent | 42f884f7caccb6c50b97d5f345d6554cbcce4177 (diff) | |
download | playbooks-a5831df1762d74835b1737bd08a5960b8bf7ce2a.tar.gz playbooks-a5831df1762d74835b1737bd08a5960b8bf7ce2a.tar.bz2 playbooks-a5831df1762d74835b1737bd08a5960b8bf7ce2a.zip |
roles/healthchecks/main: Restart supervisord
Diffstat (limited to 'roles/healthchecks')
-rw-r--r-- | roles/healthchecks/main.yml | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/roles/healthchecks/main.yml b/roles/healthchecks/main.yml index 03e8a7d..ed41d76 100644 --- a/roles/healthchecks/main.yml +++ b/roles/healthchecks/main.yml @@ -109,20 +109,14 @@ src: supervisord.conf dest: /etc/supervisord.conf mode: '0644' - register: supervisorConfig - name: Ensuring supervisord has been started and enabled service: name: supervisord - state: started + state: restarted enabled: yes + changed_when: false - name: Waiting for supervisor to become active wait_for: port: 9100 - - - name: Restarting supervisord due to config change - service: - name: supervisord - state: restarted - when: supervisorConfig.changed |