ansible-roles/roles/consul/handlers/main.yml

14 lines
392 B
YAML
Raw Normal View History

2022-07-21 01:00:17 +02:00
---
- name: restart consul
service: name=consul state=restarted
when: consul_service_started is not defined or not consul_service_started.changed
- name: reload consul
service: name=consul state=reloaded
2022-09-04 14:00:17 +02:00
when: consul_service_started is not defined or not consul_service_started.changed
- name: restart consul-template-consul
service: name=consul-template-consul state=restarted