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