The variable altnames is used by this task.

Since the value will change on the default. It needs to change here also.
This commit is contained in:
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

View file

@ -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: >-
[