-
Notifications
You must be signed in to change notification settings - Fork 234
Change request: Remove unnecessary arrays in inventory host vars #141
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
Labels
Comments
I agree with these changes as well. I'd say this may have a greater impact so probably have a toggle for it, and then we can deprecate that option eventually. |
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 3, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 3, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 6, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 7, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 7, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 7, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 7, 2020
Added separate inventories for plurals on/off
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 7, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 14, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 14, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 14, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 14, 2020
Added separate inventories for plurals on/off
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 14, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 15, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 15, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 15, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 15, 2020
Added separate inventories for plurals on/off
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 15, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 21, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 21, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 21, 2020
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 21, 2020
Added separate inventories for plurals on/off
DouglasHeriot
added a commit
to hillsong/ansible_modules
that referenced
this issue
Apr 21, 2020
FragmentedPacket
pushed a commit
that referenced
this issue
Apr 27, 2020
Closed via #155 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE TYPE
SUMMARY
I want to echo the comment by @Yannis100
ansible/ansible#60642 (comment)
I guess it just has to do with how
group_extractors
have 2 separate purposes - not just populating groups, but also filling in host variables. The calleradd_host_to_groups
assumes extractors always output an array - but wouldn't be hard to change that.It would also be nice to rename the host variables to be singular instead of plural as necessary - eg. "platform" instead of "platforms". There is no way in the Netbox database for there to be more than one platform of a device.
I plan to implement a fix for this - are we happy for this to be a breaking change, or should it have an option to switch this on/off?
EXPECTED RESULTS
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: