ansible-community / ansible-vault

:key: Ansible role for Hashicorp Vault
BSD 2-Clause "Simplified" License
364 stars 194 forks source link

Missing variable vault_tls_client_ca_file in vault_tcp_listeners #339

Open engel75 opened 8 months ago

engel75 commented 8 months ago

Hi,

even if the variable vault_tls_client_ca_file is defined, there is no such definition in vault_tcp_listeners. So without setting a custom vault_tcp_listeners the CA certificate will not be copied.

see: https://github.com/ansible-community/ansible-vault/blame/5ed64bc4714470d7b9475cdd5ac479608addeff5/templates/vault_main_configuration.hcl.j2#L24

https://github.com/ansible-community/ansible-vault/blame/5ed64bc4714470d7b9475cdd5ac479608addeff5/defaults/main.yml#L92