Skip to content

Commit

Permalink
Merge pull request #54 from veger/order_of_handlers
Browse files Browse the repository at this point in the history
Make sure daemon-reload is executed first
  • Loading branch information
ernestas-poskus authored Nov 1, 2016
2 parents de19430 + f8a4c94 commit 90fc631
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- name: Restart zookeeper
service: name=zookeeper state=restarted enabled=yes

- name: Reload systemctl daemon
command: systemctl daemon-reload
when: ansible_service_mgr == 'systemd'

- name: Restart zookeeper
service: name=zookeeper state=restarted

0 comments on commit 90fc631

Please sign in to comment.