--- - name: "restart apache2" become: true ansible.builtin.systemd: name: apache2 enabled: true masked: false state: restarted - name: "restart munin" become: true ansible.builtin.systemd: name: munin enabled: true masked: false state: restarted - name: "Ensure /var/lib/munin/cgi-tmp are set" ansible.builtin.file: path: /var/lib/munin/cgi-tmp state: directory mode: "0755" owner: munin group: www-data recurse: true ...