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

Update `with_subelements` to handle sub-lists located deeper in dict #9005

Closed
wants to merge 1 commit into
base: devel
from

Conversation

Projects
None yet
9 participants
@jumoel

jumoel commented Sep 15, 2014

Before, with_subelements could only handle that the nested list was one element 'deep' compared to the first argument.

Now, with_subelements accepts the second parameter in the form of foo.bar.baz, which will get the list at foo.bar.baz instead of complaining that the literal key foo.bar.baz doesn't exist.

Update `with_subelements` to deeper located sub-lists
Before, `with_subelements` could only handle that the nested list was one element 'deep' compared to the first argument.

Now, `with_subelements` accepts the second parameter in the form of `foo.bar.baz`, which will get the list at `foo.bar.baz` instead of complaining that the literal key `foo.bar.baz` doesn't exist.

@jumoel jumoel changed the title from Update `with_subelements` to deeper located sub-lists to Update `with_subelements` to handle sub-lists located deeper in dict Sep 15, 2014

@jimi-c jimi-c added P3 labels Sep 15, 2014

@dmkoch

This comment has been minimized.

Contributor

dmkoch commented Jan 14, 2015

+1 This would be extremely useful.

@podung

This comment has been minimized.

podung commented Jan 29, 2015

+1 We are utilizing the change from the PR. Would love to see this pull request accepted.

@cadetstar

This comment has been minimized.

cadetstar commented Jan 29, 2015

+1 Would be handy.

@johnalla0

This comment has been minimized.

johnalla0 commented Jan 29, 2015

+1, we need this

@alanflorendo

This comment has been minimized.

alanflorendo commented Jan 29, 2015

+1 yes please

@dylanjw

This comment has been minimized.

dylanjw commented Jun 4, 2015

+1

@jumoel

This comment has been minimized.

jumoel commented Jun 4, 2015

Something similar seems to have been merged into what will be Ansible v2: #10995.

@jumoel jumoel closed this Jun 4, 2015

@ansibot ansibot added feature and removed feature_pull_request labels Mar 4, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment