-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
FIX: multiple nested tasks include levels #35165
Merged
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
ansibot
added
affects_2.5
This issue/PR affects Ansible v2.5
bugfix_pull_request
needs_triage
Needs a first human triage before being processed.
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
new_contributor
This PR is the first contribution by a new community member.
labels
Jan 22, 2018
maxamillion
removed
the
needs_triage
Needs a first human triage before being processed.
label
Jan 23, 2018
kiorky
force-pushed
the
nested_tasks_devel
branch
2 times, most recently
from
January 25, 2018 14:14
d8a41e7
to
dfd00c5
Compare
ansibot
added
the
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
label
Jan 25, 2018
kiorky
force-pushed
the
nested_tasks_devel
branch
from
January 25, 2018 22:36
dfd00c5
to
c814b43
Compare
ansibot
removed
the
needs_revision
This PR fails CI tests or a maintainer has requested a review/revision of the PR.
label
Jan 26, 2018
kiorky
force-pushed
the
nested_tasks_devel
branch
from
January 30, 2018 13:09
c814b43
to
0614986
Compare
!ready_for_review |
kiorky
force-pushed
the
nested_tasks_devel
branch
from
January 31, 2018 10:46
0614986
to
1410e63
Compare
This was referenced Jan 31, 2018
Related to ansible/ansible:ansible#21890
This fixes the path of included files when you want to call include_task inside a role's task file and this role is itself called from multiple level of playbook include_tasks Related to ansible/ansible:ansible#21890 This fixes ansible/ansible:ansible#35109
kiorky
force-pushed
the
nested_tasks_devel
branch
from
January 31, 2018 11:08
1410e63
to
e2c6218
Compare
Lujeni
pushed a commit
to Lujeni/ansible
that referenced
this pull request
Feb 1, 2018
* Test for include_tasks & include_role bug Related to ansible/ansible:ansible#21890 * Fix nested include_tasks called from role This fixes the path of included files when you want to call include_task inside a role's task file and this role is itself called from multiple level of playbook include_tasks Related to ansible/ansible:ansible#21890 This fixes ansible/ansible:ansible#35109
@jimi-c Any chances that this fix is included in 2.4 ? |
ansibot
added
bug
This issue/PR relates to a bug.
and removed
bugfix_pull_request
labels
Mar 6, 2018
This was referenced Apr 17, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.5
This issue/PR affects Ansible v2.5
bug
This issue/PR relates to a bug.
new_contributor
This PR is the first contribution by a new community member.
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
test
This PR relates to tests.
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.
I'm splitting the #32565 PR on multiple more isolated PR as it may be easier to accept/check in in core.
ISSUE TYPE
COMPONENT NAME
include_tasks
ANSIBLE VERSION
CONFIGURATION
standard
OS / ENVIRONMENT
ubuntu lts
SUMMARY
See 4f97013cabc79cba669090b9a7d2a13bdbf34453
STEPS TO REPRODUCE
See 4f97013cabc79cba669090b9a7d2a13bdbf34453
EXPECTED RESULTS
included tasks find file
ACTUAL RESULTS
included tasks doesnt find file
This is another solution for #34782 (related to #34783)