fix password handling
This commit is contained in:
parent
1282ca582c
commit
c9ab20020f
@ -13,6 +13,7 @@
|
||||
password: "{{ item.password | password_hash('sha512') }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
with_items: "{{ postgres_users }}"
|
||||
no_log: True
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
when: item.pam_user | default(False)
|
||||
@ -43,7 +44,7 @@
|
||||
login_unix_socket: "{{ item.login_unix_socket | default(postgres_socket_directories[0]) }}"
|
||||
port: "{{ item.port | default(omit) }}"
|
||||
state: "{{ item.state | default('present') }}"
|
||||
# no_log: True
|
||||
no_log: True
|
||||
with_items: "{{ postgres_users }}"
|
||||
loop_control:
|
||||
label: "{{ item.name }}"
|
||||
|
Loading…
Reference in New Issue
Block a user