Browse Source

Merge "Gracefully restart Apache after cert replacements"

changes/87/697587/13
Zuul 5 days ago
parent
commit
b5f9fbc65c
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      playbooks/roles/letsencrypt-create-certs/handlers/restart_apache.yaml

+ 3
- 3
playbooks/roles/letsencrypt-create-certs/handlers/restart_apache.yaml View File

@@ -1,8 +1,8 @@
- name: Populate service facts
service_facts:

- name: Restart apache
- name: Reload apache
service:
name: apache2
state: restarted
when: "'apache2' in ansible_facts.services"
state: reloaded
when: "'apache2' in ansible_facts.services"

Loading…
Cancel
Save