diff --git a/roles/mgrote_munin_server/handlers.yml/main.yml b/roles/mgrote_munin_server/handlers.yml/main.yml index 05b5d426..cae5ef07 100644 --- a/roles/mgrote_munin_server/handlers.yml/main.yml +++ b/roles/mgrote_munin_server/handlers.yml/main.yml @@ -1,5 +1,5 @@ --- -- name: "restart apache2" +- name: "restart_apache2" become: true ansible.builtin.systemd: name: apache2 diff --git a/roles/mgrote_munin_server/tasks/main.yml b/roles/mgrote_munin_server/tasks/main.yml index a08337e6..8c3788f7 100644 --- a/roles/mgrote_munin_server/tasks/main.yml +++ b/roles/mgrote_munin_server/tasks/main.yml @@ -18,7 +18,7 @@ ansible.builtin.template: src: apache.conf dest: /etc/apache2/sites-available/000-default.conf - notify: "restart apache2" + notify: "restart_apache2" - name: Enable fgcid community.general.apache2_module: