fix encryption

This commit is contained in:
Robert Kaussow 2018-10-22 22:45:06 +02:00
parent bb1a3014d4
commit 1282ca582c

View File

@ -10,7 +10,7 @@
- name: Create local users for pam auth
user:
name: "{{ item.name }}"
password: "{{ item.password }}"
password: "{{ item.password | password_hash('sha512') }}"
state: "{{ item.state | default('present') }}"
with_items: "{{ postgres_users }}"
loop_control:
@ -43,7 +43,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 }}"