add rhel 9 and debian 11 support

This commit is contained in:
ace
2023-02-10 00:49:13 +03:00
parent 598b5c44a5
commit 187120291a
18 changed files with 285 additions and 92 deletions

View File

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