From 741f57023544e8ecf861770ffef1391ebfbbbae4 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Fri, 12 Jul 2024 14:53:42 +0200 Subject: [PATCH] fix(system/sshd): use HashiCorp Vault address from variable Signed-off-by: Matej Focko --- roles/system/sshd/tasks/trusted_ca.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/system/sshd/tasks/trusted_ca.yml b/roles/system/sshd/tasks/trusted_ca.yml index 0f96ed1..673699c 100644 --- a/roles/system/sshd/tasks/trusted_ca.yml +++ b/roles/system/sshd/tasks/trusted_ca.yml @@ -1,7 +1,7 @@ --- - name: Fetch the public key from the HashiCorp Vault ansible.builtin.get_url: - url: https://hvault.mfocko.xyz/v1/ssh/public_key + url: https://{{ hashicorp_vault_address }}/v1/ssh/public_key dest: /etc/ssh/sshd_config.d/trusted-user-ca-keys.pem mode: 0600 owner: root