Peer access from local to all databases on EL based distributions.
This commit is contained in:
parent
0020074eaa
commit
327cafe007
|
|
@ -91,7 +91,18 @@
|
|||
group: postgres
|
||||
mode: "0640"
|
||||
notify: Reload postgresql
|
||||
|
||||
- name: configure-access | Remove the ident authentication for the local connections
|
||||
community.postgresql.postgresql_pg_hba:
|
||||
dest: '{{ psql_el_conf_dir }}/pg_hba.conf'
|
||||
contype: 'local'
|
||||
users: 'all'
|
||||
databases: 'all'
|
||||
method: 'peer'
|
||||
state: present
|
||||
owner: root
|
||||
group: postgres
|
||||
mode: "0640"
|
||||
notify: Reload postgresql
|
||||
- name: configure-access | Give local access with replication privileges to the postgres user
|
||||
community.postgresql.postgresql_pg_hba:
|
||||
dest: '{{ psql_conf_dir }}/pg_hba.conf'
|
||||
|
|
|
|||
Loading…
Reference in New Issue