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:
kiorky
2018-01-31 14:35:06 +01:00
committed by James Cammarata
parent 984edacd2a
commit 9001a8794f
28 changed files with 77 additions and 1 deletions

View 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