--- - name: restart nginx systemd: name: nginx enabled: true state: restarted become: true