From 9fe52c32b4f5dd1fab699aba9400e312719e3e77 Mon Sep 17 00:00:00 2001 From: Rajan Ravi <86094767+mrrajan@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:48:47 -0400 Subject: [PATCH] Adding no_log to PSQL (#114) * spog-ui update Signed-off-by: Rajan Ravi --------- Signed-off-by: Rajan Ravi 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