From 33024293f8051fe038d59a4055d6bc938018f138 Mon Sep 17 00:00:00 2001 From: ptomas-adacis Date: Tue, 31 Oct 2023 12:08:43 +0100 Subject: [PATCH] hide plain-text passwords into execution output into tasks/users.yml --- tasks/users.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/users.yml b/tasks/users.yml index dafe16cb..cca86fd6 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -13,7 +13,7 @@ port: "{{postgresql_port}}" state: "{{ item.state | default('present') }}" login_user: "{{postgresql_admin_user}}" - no_log: true + no_log: "{{ postgresql_hide_passwords }}" become: yes become_user: "{{postgresql_admin_user}}" with_items: "{{postgresql_users}}"