--- # Check nginx config and if ok, reload - name: reload nginx command: nginx -t notify: real-reload nginx - name: real-reload nginx systemd: name: nginx state: reloaded