ansible-vault icon indicating copy to clipboard operation
ansible-vault copied to clipboard

API reachability check

Open Mandorath opened this issue 1 year ago • 0 comments

I was a bit suprised that the API check uses the ip address of a vault host instead of the FQDN. Is there specific reasoning behind this?

As it uses the ip address by default for checking the API perhaps this should be mentioned in the README.md so that people generate the certs with an alt name or change the vault_api_addr variable. For now I changed the vault_api_addr variable to:

vault_api_addr: "{{ vault_protocol }}://{{ ansible_fqdn }}:{{ vault_port }}" It then starts using the fqdn. For those who use self-signed certs make sure the CA is trusted on the node or the API check will fail!

Mandorath avatar Jul 28 '22 12:07 Mandorath