add reload
This commit is contained in:
parent
eeffce0bc0
commit
bf470f0886
@ -1,2 +1,5 @@
|
|||||||
---
|
---
|
||||||
# handlers file for ansible-consul
|
# handlers file for ansible-consul
|
||||||
|
- name: reload consul configuration on Linux
|
||||||
|
command: "consul reload"
|
||||||
|
listen: "reload consul configuration"
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
dest: /etc/consul.d/config.hcl
|
dest: /etc/consul.d/config.hcl
|
||||||
owner: consul
|
owner: consul
|
||||||
mode: 0644
|
mode: 0644
|
||||||
|
notify: reload consul configuration
|
||||||
- name: ensure service is started
|
- name: ensure service is started
|
||||||
systemd:
|
systemd:
|
||||||
name: "{{ consul_service_name }}"
|
name: "{{ consul_service_name }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user