diff --git a/roles/httpd/tasks/main.yml b/roles/httpd/tasks/main.yml index 347e057d9..0e12493c3 100644 --- a/roles/httpd/tasks/main.yml +++ b/roles/httpd/tasks/main.yml @@ -207,3 +207,8 @@ path: /etc/sudoers.d/020_apache_poweroff state: absent when: not apache_allow_sudo + +- name: Restart Apache systemd service ({{ apache_service }}) + systemd: + name: "{{ apache_service }}" + state: restarted