ansible/roles/consul/handlers/main.yaml

13 lines
251 B
YAML
Raw Normal View History

2022-08-30 12:45:41 +00:00
---
- name: reload consul
service:
name: "{{ consul_service_name }}"
state: reloaded
when: consul_service_enabled
- name: restart consul
service:
name: "{{ consul_service_name }}"
state: restarted
when: consul_service_enabled