mirror of https://github.com/ansible/ansible.git
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.pull/37661/head
parent
6c3e565ba3
commit
54e70fc783
Loading…
Reference in New Issue