consul/handlers/main.yaml
2023-02-10 00:57:18 +03:00

11 lines
235 B
YAML

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