add postgres_hba_entries_extra
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b651c24601
commit
39504bcad3
@ -68,3 +68,5 @@ postgres_hba_entries:
|
||||
- all
|
||||
address: "::1/128"
|
||||
auth_method: md5
|
||||
|
||||
postgres_hba_entries_extra: []
|
||||
|
@ -25,7 +25,7 @@
|
||||
databases: "{{ item.databases | default(['all']) | join(',') }}"
|
||||
method: "{{ item.auth_method | default('md5') }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: "{{ postgres_hba_entries }}"
|
||||
loop: "{{ postgres_hba_entries + postgres_hba_entries_extra }}"
|
||||
loop_control:
|
||||
label: "{{ item.address | default('samehost') }}:{{ item.databases | default(['all']) | join(',') }}:{{ item.users | default(['all']) | join(',') }}"
|
||||
notify: __postgres_restart
|
||||
|
Loading…
Reference in New Issue
Block a user