You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sivel
changed the title
[POC] Support spreading/unpacking loop vars
[POC] Support unpacking loop vars
Sep 7, 2022
ansibot
removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Sep 7, 2022
ansibot
added
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Sep 15, 2022
ansibot
removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Sep 21, 2022
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Sep 29, 2022
ansibot
removed
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Oct 17, 2022
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Oct 25, 2022
is there any status on if this PR will be accepted? This seems like a great feature to offer
This feature has been included in the experimental fallible (https://pypi.org/project/fallible/) build, and we are waiting on feedback about the feature, to determine if it should be included within ansible-core. See this presentation for more information: https://youtu.be/DCf_e6XRsCw?t=7924
ansibot
removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Mar 30, 2023
ansibot
added
the
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
label
Apr 12, 2023
ansibot
added
ci_verified
Changes made in this PR are causing tests to fail.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
and removed
needs_rebase
https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html
stale_ci
This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.
labels
Jun 12, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
affects_2.12ci_verifiedChanges made in this PR are causing tests to fail.fallibleThis issue/PR is a candidate for falliblefeatureThis issue/PR relates to a feature request.needs_rebasehttps://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.htmlneeds_revisionThis PR fails CI tests or a maintainer has requested a review/revision of the PR.stale_ciThis PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested.stale_prThis PR has not been pushed to for more than one year.
4 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
This PR injects the loop items directly into the "global" scope of task vars, while also keeping it available under
loop_varISSUE TYPE
COMPONENT NAME
lib/ansible/executor/task_executor.py
ADDITIONAL INFORMATION
TODO:
Probably need to validate the type of the var to ensure it is a mapping whenunpack=True