--- - name: reload nginx systemd: enabled: yes name: nginx state: reloaded - name: restart nginx systemd: enabled: yes name: nginx state: restarted