ansible-role-nginx/tasks/conf/debug-output.yml

10 lines
239 B
YAML
Raw Normal View History

---
- name: "(Setup: All OSs) Register NGINX configuration"
command: nginx -T
changed_when: false
register: nginx_configuration
- name: "(Setup: All OSs) Print NGINX configuration"
debug:
var: nginx_configuration.stdout_lines