Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vault Health check fails when using dynamic ip config #324

Open
codezninja opened this issue Feb 13, 2023 · 0 comments
Open

Vault Health check fails when using dynamic ip config #324

codezninja opened this issue Feb 13, 2023 · 0 comments

Comments

@codezninja
Copy link

Description

Vault supports dynamic config for ip resolution using go-sockaddr. I'm able to using this module to set the config I need by using vault_address: !unsafe '{{ GetPrivateIP }}'.

The problem is during the reachable task. It is unable to use that value.

Current workaround is to just disable the health check using vault_disable_api_health_check but it be nice if we could maybe update this to support maybe using ansible default ipv4 value instead? Like url: "http://{{ ansible_default_ipv4.address }}:{{ vault_port }}/v1/sys/health"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant