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

IPv6 address format incompatibility in wait_for action #189

Open
sometimes-i-send-pull-requests opened this issue Apr 26, 2024 · 0 comments

Comments

@sometimes-i-send-pull-requests

I have been using the grafana role from this collection to manage Grafana. My network uses IPv6, and I only want to bind to one of the interfaces with a particular address, so I had a line like this in my variables file:

grafana_address: "fdfe:3f06:f62b:0:4489:d5ff:fe9a:efd3"

This worked fine for a while. But recently, Grafana has changed its accepted formats for IPv6 addresses, and now requires them to be wrapped with square brackets (grafana/grafana#81870, grafana/grafana#81991). So I updated my variables file accordingly:

grafana_address: "[fdfe:3f06:f62b:0:4489:d5ff:fe9a:efd3]"

With this change, Grafana is now able to start up. However, Ansible doesn't understand this address format, and running the playbook now hangs on the "Wait for grafana to start" task. There does not seem to be a way to configure an IPv6 address using the Ansible grafana role any more that works with both Grafana and the Ansible grafana role.

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