roles/nginx/application: Added validation for nginx.conf

wip
Felix Stupp 5 years ago
parent 007c7ed2a4
commit d80261fe53
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -54,6 +54,7 @@
template:
src: nginx.conf
dest: "{{ nginx_installation_directory }}/nginx.conf"
validate: /usr/sbin/nginx -t -c %s
notify: reload nginx
- name: Allow ports for http in firewall

Loading…
Cancel
Save