mirror of
https://gitea.0xace.cc/ansible-galaxy/patroni.git
synced 2024-11-25 08:06:39 +00:00
9 lines
236 B
YAML
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"
|