ansible/roles/consul/handlers/main.yaml
2022-08-30 07:45:41 -05:00

13 lines
251 B
YAML

---
- 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