Add postgresql.listen_addresses option

This commit is contained in:
Julian Rother 2022-09-21 01:50:16 +02:00
parent feee78918c
commit be64c4523d
3 changed files with 793 additions and 0 deletions

View file

@ -10,6 +10,16 @@
- python-psycopg2
when: ansible_distribution_release == 'stretch'
- name: generate postgresql.conf
template:
src: postgresql.conf.j2
dest: "/etc/postgresql/{{ pg_version }}/main/postgresql.conf"
owner: postgres
group: postgres
mode: 0644
notify:
- restart postgres
- name: generate pg_hba
template:
src: pg_hba.conf.j2