From c9ab20020f5c923df0b3c5207b691135793eec05 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 22 Oct 2018 23:05:52 +0200 Subject: [PATCH] fix password handling --- tasks/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tasks/config.yml b/tasks/config.yml index e016f94..6cfb45d 100644 --- a/tasks/config.yml +++ b/tasks/config.yml @@ -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 }}"