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}}"