Actually have Postgres listen over the network

GOD D
This commit is contained in:
Salt 2021-03-01 12:29:21 -06:00
parent 4f27b68097
commit 975cd7280c

View File

@ -25,6 +25,9 @@
roles: roles:
- role: postgresql - role: postgresql
vars: vars:
postgresql_global_config_options:
- option: listen_addresses
value: 192.168.103.1
postgresql_hba_entries: postgresql_hba_entries:
- { type: local, database: all, user: postgres, auth_method: peer } - { type: local, database: all, user: postgres, auth_method: peer }
- { type: local, database: all, user: all, auth_method: md5 } - { type: local, database: all, user: all, auth_method: md5 }