first commit

This commit is contained in:
ace
2023-02-08 02:39:20 +03:00
commit e9c8bd299b
18 changed files with 1017 additions and 0 deletions

8
handlers/main.yaml Normal file
View File

@ -0,0 +1,8 @@
- 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"