From 60432f601e1d206f5b89243e1e8529e3c7de60e3 Mon Sep 17 00:00:00 2001 From: Bartosz Bezak Date: Thu, 12 Sep 2024 10:24:09 +0200 Subject: [PATCH] Reference controller IP for backend TLS certificates --- etc/kayobe/ansible/vault-generate-backend-tls.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/kayobe/ansible/vault-generate-backend-tls.yml b/etc/kayobe/ansible/vault-generate-backend-tls.yml index bd61f9d9a..5603f1991 100644 --- a/etc/kayobe/ansible/vault-generate-backend-tls.yml +++ b/etc/kayobe/ansible/vault-generate-backend-tls.yml @@ -18,7 +18,7 @@ - name: Generate backend API certificates hosts: controllers:network vars: - vault_api_addr: "https://{{ internal_net_name | net_ip }}:8200" + vault_api_addr: "https://{{ internal_net_name | net_ip(groups['controllers'][0]) }}:8200" vault_intermediate_ca_name: "OS-TLS-INT" tasks: - name: Set a fact about the virtualenv on the remote system