patroni/handlers/main.yaml
2023-02-08 02:39:20 +03:00

9 lines
236 B
YAML

- block:
- name: Restart Patroni
throttle: 1
ansible.builtin.systemd:
state: reloaded
daemon_reload: yes
name: patroni
when: "not patroni_postgresql_setup.changed or not patroni_enable_and_start.changed"