This commit is contained in:
parent
0ce0c47c97
commit
d4b4696f10
@ -66,5 +66,5 @@ postgres_hba_entries:
|
|||||||
- all
|
- all
|
||||||
users:
|
users:
|
||||||
- all
|
- all
|
||||||
address: '::1/128'
|
address: "::1/128"
|
||||||
auth_method: md5
|
auth_method: md5
|
||||||
|
@ -20,9 +20,9 @@
|
|||||||
postgresql_pg_hba:
|
postgresql_pg_hba:
|
||||||
dest: "{{ __postgres_config_path }}/pg_hba.conf"
|
dest: "{{ __postgres_config_path }}/pg_hba.conf"
|
||||||
contype: "{{ item.contype | default('local') }}"
|
contype: "{{ item.contype | default('local') }}"
|
||||||
users: "{{ item.users | default(['all'])) | join(',') }}"
|
users: "{{ item.users | default(['all']) | join(',') }}"
|
||||||
address: "{{ item.address | default('samehost') }}"
|
address: "{{ item.address | default('samehost') }}"
|
||||||
databases: "{{ item.databases | default(['all'])) | join(',') }}"
|
databases: "{{ item.databases | default(['all']) | join(',') }}"
|
||||||
method: "{{ item.auth_method | default('md5') }}"
|
method: "{{ item.auth_method | default('md5') }}"
|
||||||
state: "{{ item.state | default('present') }}"
|
state: "{{ item.state | default('present') }}"
|
||||||
loop: "{{ postgres_hba_entries }}"
|
loop: "{{ postgres_hba_entries }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user