Skip to content

Commit

Permalink
fix(handler):add condition to not launch handler when nginx_service_s…
Browse files Browse the repository at this point in the history
…tate stopped
  • Loading branch information
dtourde-dd committed Aug 4, 2022
1 parent e4a2b63 commit d05e502
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@

- name: reload nginx
service: name=nginx state=reloaded
when: nginx_service_state == "started"

0 comments on commit d05e502

Please sign in to comment.