Issue238 - validate configs (#241)
This commit is contained in:
parent
301416a9c9
commit
d51bacda43
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user