hashing method configurable.
This commit is contained in:
parent
b8be7778e8
commit
aded1a0426
|
@ -10,8 +10,7 @@
|
|||
users: '{{ item.0.user }}'
|
||||
address: '{{ item.1 }}'
|
||||
databases: '{{ item.0.name }}'
|
||||
# method: 'scram-sha-256'
|
||||
method: 'md5'
|
||||
method: '{{ item.0.hash_method | default("scram-sha-256") }}'
|
||||
owner: root
|
||||
group: postgres
|
||||
mode: "0640"
|
||||
|
@ -64,8 +63,7 @@
|
|||
users: '{{ item.0.user }}'
|
||||
address: '{{ item.1 }}'
|
||||
databases: '{{ item.0.name }}'
|
||||
# method: 'scram-sha-256'
|
||||
method: 'md5'
|
||||
method: '{{ item.0.hash_method | default("scram-sha-256") }}'
|
||||
state: "{{ item.0.state | default('present') }}"
|
||||
owner: root
|
||||
group: postgres
|
||||
|
|
Loading…
Reference in New Issue