mirror of
https://github.com/geerlingguy/ansible-role-nginx.git
synced 2025-02-14 00:52:04 +01:00
fix(handler):add condition to not launch handler when nginx_service_state stopped
This commit is contained in:
parent
e4a2b6300a
commit
d05e5024d7
@ -8,3 +8,4 @@
|
||||
|
||||
- name: reload nginx
|
||||
service: name=nginx state=reloaded
|
||||
when: nginx_service_state == "started"
|
||||
|
Loading…
Reference in New Issue
Block a user