for non-verbose output hide user passwords in postgresql role

This commit is contained in:
June 2025-02-15 20:06:55 +01:00
parent 2ec1471d7f
commit 4def1334d8
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -18,6 +18,8 @@
become: true
become_user: postgres
loop: "{{ postgresql__users }}"
loop_control:
label: "user {{ item.name }} with {{ 'a password' if item.password is defined else 'no password' }}"
- name: Ensure dbs with owners
community.postgresql.postgresql_db: