This commit is contained in:
parent
d4b4696f10
commit
b5522e1973
@ -21,13 +21,13 @@
|
||||
dest: "{{ __postgres_config_path }}/pg_hba.conf"
|
||||
contype: "{{ item.contype | default('local') }}"
|
||||
users: "{{ item.users | default(['all']) | join(',') }}"
|
||||
address: "{{ item.address | default('samehost') }}"
|
||||
address: "{{ item.address | default('all') }}"
|
||||
databases: "{{ item.databases | default(['all']) | join(',') }}"
|
||||
method: "{{ item.auth_method | default('md5') }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
loop: "{{ postgres_hba_entries }}"
|
||||
loop_control:
|
||||
label: "{{ item.address | default('samehost') }}:{{ item.databases | default(['all'])) | join(',') }}:{{ item.users | default(['all'])) | join(',') }}"
|
||||
label: "{{ item.address | default('samehost') }}:{{ item.databases | default(['all']) | join(',') }}:{{ item.users | default(['all']) | join(',') }}"
|
||||
notify: __postgres_restart
|
||||
|
||||
- name: Open ports in iptables
|
||||
|
Loading…
Reference in New Issue
Block a user