Change the print_psql_db_data boolean behaviour.

This commit is contained in:
Andrea Dell'Amico 2024-03-25 13:47:55 +01:00
parent a0fdcaa9e5
commit f7ea97364c
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 1 additions and 1 deletions

View File

@ -2,8 +2,8 @@
- name: print_psql_db_data | Optionally print the psql_db_data contents
run_once: true
tags: ['postgresql', 'postgres', 'pg_db', 'pg_user']
when: pgsql_show_db_data
block:
- name: print_psql_db_data | Print the psql_db_data values
ansible.builtin.debug:
var: psql_db_data
no_log: not "{{ pgsql_show_db_data }}"