Issue238 - validate configs (#241)

This commit is contained in:
Tom Gamull 2020-04-21 14:52:31 -04:00 committed by GitHub
parent 301416a9c9
commit d51bacda43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,11 @@
name: nginx
state: started
enabled: yes
notify: "(Handler: All OSs) Check NGINX"
- name: "(Handler: All OSs) Reload NGINX"
service:
name: nginx
state: reloaded
command: "nginx -s reload"
changed_when: false
when:
- nginx_start | bool
@ -33,3 +33,7 @@
name: unitd
state: started
enabled: yes
- name: "(Handler: All OSs) Check NGINX"
command: "nginx -t"
changed_when: false