15 lines
381 B
YAML
15 lines
381 B
YAML
- name: Open postgres port
|
|
ini_file:
|
|
path: /etc/postgresql/15/main/postgresql.conf
|
|
section: null
|
|
option: listen_addresses
|
|
value: "'*'"
|
|
notify: restart postgres
|
|
|
|
- name: Change data directory
|
|
ini_file:
|
|
path: /etc/postgresql/15/main/postgresql.conf
|
|
section: null
|
|
option: data_directory
|
|
value: "'/mnt/data/postgresql'"
|
|
notify: restart postgres
|