This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
thecloud/ansible/roles/postgresql/tasks/main.yml
2023-06-10 13:10:39 +02:00

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