Add postgresql.listen_addresses option
This commit is contained in:
parent
feee78918c
commit
be64c4523d
3 changed files with 793 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue