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

Remove the range part while parsing hostname and port #14206

Closed
wants to merge 3 commits into from
Closed

Remove the range part while parsing hostname and port #14206

wants to merge 3 commits into from

Conversation

asouchang
Copy link

Fix the issue that the INI parser treat the hosts with range in /etc/ansible/hosts as a IPv6 address with port, which causes exception at runtime
For example: server-[01:99:2].dc1

@bcoca bcoca added this to the stable-1.9 milestone Mar 4, 2016
@abadger
Copy link
Contributor

abadger commented Mar 4, 2016

We've taken a look at this problem and the proposed solution. We think that it is fixed in 2.0 and would recommend updating to that version if this is a problem for you. We've thought about the risk versus benefit of taking this as a backport to 1.9.x and don't feel comfortable pushing it there. The ini file syntax has many cornercases that could be encountered with this which could break people's current inventories. So we'd rather not introduce the potential for breakage for 1.9. 2.x is where we hope that issues such as this can be resolved.

@abadger abadger closed this Mar 4, 2016
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bugfix_pull_request labels Mar 5, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants