From fe3290601a2edc47236faaae447fb8f70dfbba59 Mon Sep 17 00:00:00 2001 From: abelgana <32614067+abelgana@users.noreply.github.com> Date: Mon, 27 Nov 2017 06:57:16 -0500 Subject: [PATCH] The variable altnames is used by this task. Since the value will change on the default. It needs to change here also. --- roles/vault/tasks/bootstrap/gen_vault_certs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/vault/tasks/bootstrap/gen_vault_certs.yml b/roles/vault/tasks/bootstrap/gen_vault_certs.yml index 8a82e5b6f..d542ef845 100644 --- a/roles/vault/tasks/bootstrap/gen_vault_certs.yml +++ b/roles/vault/tasks/bootstrap/gen_vault_certs.yml @@ -2,7 +2,7 @@ - include: ../shared/issue_cert.yml vars: issue_cert_common_name: "{{ vault_pki_mounts.vault.roles[0].name }}" - issue_cert_alt_names: "{{ groups.vault + ['localhost'] + vault_ca_options.vault.altnames|default() }}" + issue_cert_alt_names: "{{ groups.vault + ['localhost'] + vault_ca_options.vault.alt_names|default() }}" issue_cert_hosts: "{{ groups.vault }}" issue_cert_ip_sans: >- [