ansible-role-nginx/tasks/config/debug-output.yml
2020-09-19 17:32:17 +02:00

10 lines
161 B
YAML

---
- name: Register NGINX config
command: nginx -T
changed_when: false
register: config
- name: Print NGINX config
debug:
var: config.stdout_lines