The variable altnames is used by this task.

Since the value will change on the default. It needs to change here also.
pull/2003/head
abelgana 2017-11-27 06:57:16 -05:00 committed by GitHub
parent e7173e1d62
commit fe3290601a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
- include: ../shared/issue_cert.yml - include: ../shared/issue_cert.yml
vars: vars:
issue_cert_common_name: "{{ vault_pki_mounts.vault.roles[0].name }}" 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_hosts: "{{ groups.vault }}"
issue_cert_ip_sans: >- issue_cert_ip_sans: >-
[ [