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