You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/include_import
Matt Martz 0b0bb65198
Backport #36372 for 2.5 (#37666)
* Fix name parameter templating in include_role module (#36372)

An IncludedFile() object built using the original_task will have
its _task bound to the original_task. The iterative reassignment of
original_task._role_name during with_item loops leaves all returned
included_files with the same ._task._role_name (the final name from
the with_items list). This commit builds IncludedFile() objects
from an original_task.copy() to avoid the problematic binding.

(cherry picked from commit 54e70fc783)

* Test include role with items in name #36372 (#37001)

* Tests for #36372

* Tests for #36372

* Tests for #36372

(cherry picked from commit 8c4f349743)

* Add changelog for #36372
7 years ago
..
nestedtasks/nested FIX: multiple nested tasks include levels (#35165) 7 years ago
playbook Integration tests for import/include (#33418) 7 years ago
role Backport #36372 for 2.5 (#37666) 7 years ago
roles Backport #36372 for 2.5 (#37666) 7 years ago
tasks FIX: multiple nested tasks include levels (#35165) 7 years ago
aliases Integration tests for import/include (#33418) 7 years ago
nested.yml FIX: multiple nested tasks include levels (#35165) 7 years ago
runme.sh FIX: multiple nested tasks include levels (#35165) 7 years ago
test_recursion.yml Integration tests for import/include (#33418) 7 years ago