consul/handlers/main.yaml

9 lines
222 B
YAML
Raw Normal View History

2022-07-28 14:14:26 +00:00
- block:
- name: Restart consul
throttle: 1
ansible.builtin.systemd:
state: restarted
name: consul
daemon_reload: yes
2022-09-06 12:59:08 +00:00
when: "not consul_setup.changed or not consul_enable_and_start.changed"