-
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
Use updated task, instead of original, non-merged included_file._task #39762
Merged
Conversation
This file contains 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
bcoca
approved these changes
May 4, 2018
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 12, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 14, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 14, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
tonal
pushed a commit
to tonal/ansible
that referenced
this pull request
May 15, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 15, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
oolongbrothers
pushed a commit
to oolongbrothers/ansible
that referenced
this pull request
May 15, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
ilicmilan
pushed a commit
to ilicmilan/ansible
that referenced
this pull request
Nov 7, 2018
…ansible#39762) * Used updated task, instead of original, non-merged included_file._task. Fixes ansible#39637 * Add changelog entry
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.
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
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
Use updated task, instead of original, non-merged included_file._task. Fixes #39637
Before this change, we were using
included_file._task
in our call toget_vars
. However, what is missing here, is thatincluded_file._args
aren't merged intoincluded_file._task.vars
._args
is merged intovars
in_copy_included_file
which is then later used as the parent of the new block.Use
new_block._parent
instead, which is the merged copy.ISSUE TYPE
COMPONENT NAME
lib/ansible/plugins/strategy/linear.py
ANSIBLE VERSION
ADDITIONAL INFORMATION