fix password handling

This commit is contained in:
Robert Kaussow 2018-10-22 23:05:52 +02:00
parent 1282ca582c
commit c9ab20020f
1 changed files with 2 additions and 1 deletions

View File

@ -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 }}"