Skip to content

Commit

Permalink
PostgreSQL role: adjust for newer Ansible version
Browse files Browse the repository at this point in the history
Newer versions of Ansible can't handle null sections in ini_file tasks.
  • Loading branch information
stsnel committed Mar 20, 2024
1 parent 2d67e01 commit 51a7584
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/postgresql/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
- name: Ensure PostgreSQL is configured to use SSL
community.general.ini_file:
path: "/var/lib/pgsql/{{ postgresql_version }}/data/postgresql.conf"
section: null
section: ''
option: '{{ item.option }}'
value: '{{ item.value }}'
mode: '0600'
Expand Down

0 comments on commit 51a7584

Please sign in to comment.