diff --git a/tasks/config.yml b/tasks/config.yml index b5c10dd..e016f94 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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 }}"