initial commit

This commit is contained in:
ace
2023-02-08 02:13:12 +03:00
commit 598b5c44a5
23 changed files with 737 additions and 0 deletions

9
handlers/main.yaml Normal file
View File

@ -0,0 +1,9 @@
- block:
- name: Restart PostgreSQL
throttle: 1
ansible.builtin.systemd:
state: restarted
daemon_reload: yes
name: "postgresql-{{ postgresql_major_version }}"
when: "not postgresql_setup.changed or not postgresql_enable_and_start.changed"