From e38e7d8d187f427c1445a45d6c327b3595d230f9 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 26 Mar 2024 06:54:57 -0500 Subject: [PATCH 1/4] show logs --- ansible/configure-jigasi-local-oracle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/configure-jigasi-local-oracle.yml b/ansible/configure-jigasi-local-oracle.yml index 056dbada..d8953e6a 100644 --- a/ansible/configure-jigasi-local-oracle.yml +++ b/ansible/configure-jigasi-local-oracle.yml @@ -42,7 +42,7 @@ - name: Retrieve jigasi secrets from vault ansible.builtin.set_fact: jigasi_secret_response: "{{ lookup('community.hashi_vault.vault_kv2_get', hcv_environment+'/jigasi/xmpp') }}" - no_log: true +# no_log: true when: jigasi_vault_enabled tags: "setup" From 1b426acf1c942b4651ff9dafa713903c381dc7a3 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 26 Mar 2024 07:11:27 -0500 Subject: [PATCH 2/4] fix url for jigasi local --- ansible/configure-jigasi-local-oracle.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/configure-jigasi-local-oracle.yml b/ansible/configure-jigasi-local-oracle.yml index d8953e6a..d629b4f8 100644 --- a/ansible/configure-jigasi-local-oracle.yml +++ b/ansible/configure-jigasi-local-oracle.yml @@ -41,8 +41,8 @@ # fetch secrets from vault - name: Retrieve jigasi secrets from vault ansible.builtin.set_fact: - jigasi_secret_response: "{{ lookup('community.hashi_vault.vault_kv2_get', hcv_environment+'/jigasi/xmpp') }}" -# no_log: true + jigasi_secret_response: "{{ lookup('community.hashi_vault.vault_kv2_get', hcv_environment+'/jigasi/xmpp', url=vault_agent_address) }}" + no_log: true when: jigasi_vault_enabled tags: "setup" From 0541b5598b98fb881d7cf29cc9b2f1924a60a55b Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 26 Mar 2024 07:17:07 -0500 Subject: [PATCH 3/4] fix mount point --- ansible/configure-jigasi-local-oracle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/configure-jigasi-local-oracle.yml b/ansible/configure-jigasi-local-oracle.yml index d629b4f8..6f17bc1e 100644 --- a/ansible/configure-jigasi-local-oracle.yml +++ b/ansible/configure-jigasi-local-oracle.yml @@ -41,7 +41,7 @@ # fetch secrets from vault - name: Retrieve jigasi secrets from vault ansible.builtin.set_fact: - jigasi_secret_response: "{{ lookup('community.hashi_vault.vault_kv2_get', hcv_environment+'/jigasi/xmpp', url=vault_agent_address) }}" + jigasi_secret_response: "{{ lookup('community.hashi_vault.vault_kv2_get', hcv_environment+'/jigasi/xmpp', url=vault_agent_address, engine_mount_point='secret') }}" no_log: true when: jigasi_vault_enabled tags: "setup" From 5c06fecda9ffc4c308cf72abca6099c2d580e561 Mon Sep 17 00:00:00 2001 From: Aaron van Meerten Date: Tue, 26 Mar 2024 07:22:42 -0500 Subject: [PATCH 4/4] show more logs --- ansible/configure-jigasi-local-oracle.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/configure-jigasi-local-oracle.yml b/ansible/configure-jigasi-local-oracle.yml index 6f17bc1e..41201038 100644 --- a/ansible/configure-jigasi-local-oracle.yml +++ b/ansible/configure-jigasi-local-oracle.yml @@ -42,7 +42,7 @@ - name: Retrieve jigasi secrets from vault ansible.builtin.set_fact: jigasi_secret_response: "{{ lookup('community.hashi_vault.vault_kv2_get', hcv_environment+'/jigasi/xmpp', url=vault_agent_address, engine_mount_point='secret') }}" - no_log: true +# no_log: true when: jigasi_vault_enabled tags: "setup"