fix(handler):add condition to not launch handler when nginx_service_state stopped

This commit is contained in:
Damien TOURDE 2022-08-04 13:23:21 +02:00
parent e4a2b6300a
commit d05e5024d7
No known key found for this signature in database
GPG Key ID: 09EA77EDDE7BB76C
1 changed files with 1 additions and 0 deletions

View File

@ -8,3 +8,4 @@
- name: reload nginx
service: name=nginx state=reloaded
when: nginx_service_state == "started"