Issue238 - validate configs (#241)
This commit is contained in:
parent
301416a9c9
commit
d51bacda43
@ -7,11 +7,11 @@
|
|||||||
name: nginx
|
name: nginx
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
notify: "(Handler: All OSs) Check NGINX"
|
||||||
|
|
||||||
- name: "(Handler: All OSs) Reload NGINX"
|
- name: "(Handler: All OSs) Reload NGINX"
|
||||||
service:
|
command: "nginx -s reload"
|
||||||
name: nginx
|
changed_when: false
|
||||||
state: reloaded
|
|
||||||
|
|
||||||
when:
|
when:
|
||||||
- nginx_start | bool
|
- nginx_start | bool
|
||||||
@ -33,3 +33,7 @@
|
|||||||
name: unitd
|
name: unitd
|
||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
|
- name: "(Handler: All OSs) Check NGINX"
|
||||||
|
command: "nginx -t"
|
||||||
|
changed_when: false
|
||||||
|
Loading…
Reference in New Issue
Block a user