1 2 3 4 5 6 7
--- - name: restart nginx systemd: name: nginx enabled: yes state: restarted become: yes