From 013cca23d11559a1f4b1c02536e9ef4bfb47edac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Massimiliano=20Dess=C3=AC=20-=20=28Fast=20Chauffeur=29?= Date: Mon, 28 Oct 2024 15:56:36 +0100 Subject: [PATCH] Adding no_log to PSQL (#114) (#115) * spog-ui update --------- Signed-off-by: Rajan Ravi Co-authored-by: Rajan Ravi <86094767+mrrajan@users.noreply.github.com> Co-authored-by: Rajan Ravi --- roles/tpa_single_node/tasks/guac/init.yml | 2 ++ roles/tpa_single_node/tasks/infra/postgresql.yml | 0 2 files changed, 2 insertions(+) create mode 100644 roles/tpa_single_node/tasks/infra/postgresql.yml diff --git a/roles/tpa_single_node/tasks/guac/init.yml b/roles/tpa_single_node/tasks/guac/init.yml index 09aabec8..3c43a388 100644 --- a/roles/tpa_single_node/tasks/guac/init.yml +++ b/roles/tpa_single_node/tasks/guac/init.yml @@ -15,9 +15,11 @@ -v db_password={{ tpa_single_node_pg_user_passwd }} \ -f {{ tpa_single_node_config_dir }}/init-db.sql" changed_when: false + no_log: true - name: Testing DB guac to make sure it is available ansible.builtin.command: "psql postgresql://{{ tpa_single_node_pg_user }}:{{ tpa_single_node_pg_user_passwd }}@\ {{ tpa_single_node_pg_host }}:{{ tpa_single_node_pg_port }}/{{ tpa_single_node_pg_db }} -c 'SELECT 1'" register: select_output changed_when: false + no_log: true diff --git a/roles/tpa_single_node/tasks/infra/postgresql.yml b/roles/tpa_single_node/tasks/infra/postgresql.yml new file mode 100644 index 00000000..e69de29b