{% if ansible_controlled is defined and ansible_controlled != "" %} # # {{ ansible_controlled }} # {% endif %} server { server_name localhost; location /nginx_status { stub_status on; access_log off; allow 127.0.0.1; deny all; } }