Add the print_psql_db_data.yml file to the repository.

This commit is contained in:
Andrea Dell'Amico 2024-03-25 13:42:06 +01:00
parent 999098d272
commit 15459c625e
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,7 @@
---
- name: Optionally print the psql_db_data contents
ansible.builtin.import_tasks: print_psql_db_data.yml
when: psql_db_data is defined
- import_tasks: configure-access.yml
when: psql_db_data is defined
- import_tasks: manage_dbs.yml

View File

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