Using include within an included role from within a role results in AttributeError #27345
Labels
affects_2.4
This issue/PR affects Ansible v2.4
bug
This issue/PR relates to a bug.
c:playbook/role_include
c:playbook/task_include
P2
Priority 2 - Issue Blocks Release
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
SUMMARY
When running the playbooks defined below, an AttributeError exception is created when unable to parse the path.
STEPS TO REPRODUCE
File organization
playbook.yml
roles/test/tasks/main.yml
roles/test-1/tasks/main.yml
roles/test-1/tasks/included_file.yml
EXPECTED RESULTS
Expect the
debug
task in included_file.yml to run.ACTUAL RESULTS
Here is output with Ansible 2.3.1
This is a variation of the issue #26525 which was fixed in #26601.
The text was updated successfully, but these errors were encountered: