--- - name: restart nginx service: name: nginx state: restarted - name: reload nginx service: name: nginx state: reloaded listen: certificate changed