--- - name: 'validate nginx configuration' command: 'nginx -t -c /etc/nginx/nginx.conf' changed_when: false ...