fix encryption
This commit is contained in:
parent
bb1a3014d4
commit
1282ca582c
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user