--- - name: Reload Systemd. become: yes command: systemctl daemon-reload - name: Restart Apache2. become: yes systemd: service: apache2 state: restarted