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

21 lines
301 B
YAML

---
- name: daemon_reload
systemd:
daemon_reload: True
- name: reload_consul_debian
systemd:
name: consul
state: reloaded
- name: restart_consul_debian
systemd:
name: consul
state: restarted
- name: restart_consul_fbsd
service:
name: consul
state: restarted
...