consul/handlers/main.yaml
2022-09-06 15:59:08 +03:00

9 lines
222 B
YAML

- block:
- name: Restart consul
throttle: 1
ansible.builtin.systemd:
state: restarted
name: consul
daemon_reload: yes
when: "not consul_setup.changed or not consul_enable_and_start.changed"