Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #7 from UCL-MIRSG/Fix/symlink-task-6
Browse files Browse the repository at this point in the history
Fix/symlink task 6
  • Loading branch information
drmatthews authored Mar 2, 2023
2 parents 9905e0d + c87201a commit 61ff1f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@
src: "{{ postgresql_storage.data_directory }}"
dest: "{{ postgresql.data_directory }}"
state: link
when: postgresql_storage.data_directory != postgresql.data_directory

- name: Create PostgreSQL database directory if it does not already exist
ansible.builtin.command: "{{ postgresql.setup_command }} initdb"
Expand Down
2 changes: 1 addition & 1 deletion templates/postgresql.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@

# - Connection Settings -

listen_addresses = {{ postgresql_connection.listen_addresses|default('localhost, postgresql_connection.host') }}
listen_addresses = {{ postgresql_connection.listen_addresses|default('localhost, ' + postgresql_connection.host) }}
#listen_addresses = '*'
# comma-separated list of addresses;
# defaults to 'localhost'; use '*' for all
Expand Down

0 comments on commit 61ff1f8

Please sign in to comment.