--- - name: restart_apache2 become: true ansible.builtin.systemd: name: apache2 state: restarted enabled: true