--- - 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 ...