mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
FIX: multiple nested tasks include levels (#35165)
* Test for include_tasks & include_role bug Related to 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:#21890 This fixes ansible/ansible:#35109
This commit is contained in:
6
test/integration/targets/include_import/nested.yml
Normal file
6
test/integration/targets/include_import/nested.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: >-
|
||||
verify that multiple level of nested statements and
|
||||
include+meta doesnt mess included files mecanisms
|
||||
hosts: testhost
|
||||
tasks:
|
||||
- include_tasks: ./tasks/nested/nested.yml
|
||||
Reference in New Issue
Block a user