Fix nested import_tasks when the parent import contains a template (#85599) (#85636)

* Test nested import_tasks when the parent import contains a template

* Fix templating the parent_include.args

(cherry picked from commit 9a6420e1d5)
This commit is contained in:
Sloane Hertel
2025-08-18 10:00:15 -07:00
committed by GitHub
parent 2dcd35b692
commit 6404fdce45
5 changed files with 6 additions and 0 deletions
@@ -9,3 +9,5 @@
- assert:
that:
- nested_adjacent_count|int == 2
- import_tasks: "{{ role_path }}/tests/main.yml"
@@ -0,0 +1 @@
- import_tasks: tests_relative.yml