diff --git a/roles/mgrote_munin_server/handlers.yml/main.yml b/roles/mgrote_munin_server/handlers.yml/main.yml index 7e42c2f4..05b5d426 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 505a38e3..50260c4d 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: - name: Enable fgcid community.general.apache2_module: