From 1282ca582cf5d399f3c60e8c7fca3a219fe98c64 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 22 Oct 2018 22:45:06 +0200 Subject: [PATCH] fix encryption --- tasks/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }}"