Fix environment variable lookup for vault password

ansible_env refers to the environment on the remote host, whereas lookup('env')
should be used for the control host's environment.
This commit is contained in:
Mark Goddard 2017-05-29 16:54:10 +01:00
parent 71d05fe397
commit be637218eb

View File

@ -150,7 +150,7 @@ kolla_build_customizations: {}
# Kolla-ansible configuration.
# Password to use to encrypt the kolla-ansible passwords.yml file.
kolla_ansible_vault_password: "{{ ansible_env.KAYOBE_VAULT_PASSWORD }}"
kolla_ansible_vault_password: "{{ lookup('env', 'KAYOBE_VAULT_PASSWORD') | default }}"
# Whether TLS is enabled for the external API endpoints.
kolla_enable_tls_external: "no"