-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
host pattern that is an integer produces traceback #31978
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Comments
no, |
bcoca
added a commit
to bcoca/ansible
that referenced
this issue
Oct 20, 2017
I'm not sure what that means, but it looks like you have fixed |
the source of the issue was not the inventory definition, but the selection criteria, for example from play |
bcoca
added a commit
that referenced
this issue
Oct 20, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
Inventory
ANSIBLE VERSION
2.3 -> devel
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
This came up on slack a bit ago, I suspect an issue was not logged. It looks to me as inventory is interpreting the group as an integer, then failing when it is not iterable.
The issue seems to comes from
ansible/lib/ansible/inventory/manager.py
Line 94 in 2ffe3c4
STEPS TO REPRODUCE
Create a group in inventory with only integers
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: