infra/ansible/roles/consul_server/handlers/main.yml

21 lines
301 B
YAML
Raw Normal View History

2020-08-21 04:26:07 +00:00
---
- name: daemon_reload
systemd:
daemon_reload: True
2020-10-01 02:40:16 +00:00
- name: reload_consul_debian
systemd:
name: consul
state: reloaded
2020-08-21 04:26:07 +00:00
- name: restart_consul_debian
systemd:
name: consul
state: restarted
- name: restart_consul_fbsd
service:
name: consul
state: restarted
...