Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vitabaks committed Aug 6, 2024
1 parent 372873d commit adb2bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/patroni/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,11 @@
# patroni bootstrap failure is possible if the PostgreSQL config files are missing
- name: Prepare PostgreSQL | make sure PostgreSQL config directory exists
ansible.builtin.file:
path: "{{ postgresql_conf_dir }}"
path: /etc/postgresql
state: directory
owner: postgres
group: postgres
mode: "0755"
recurse: true
when: ansible_os_family == "Debian" and
postgresql_packages|join(" ") is not search("postgrespro")

Expand Down

0 comments on commit adb2bc7

Please sign in to comment.