mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-28 21:31:26 -07:00
parent
5f9b7046ed
commit
240b060c02
3 changed files with 20 additions and 3 deletions
|
@ -160,7 +160,7 @@ class IncludedFile:
|
|||
from_key = from_arg.replace('_from', '')
|
||||
new_task._from_files[from_key] = templar.template(include_variables[from_arg])
|
||||
|
||||
inc_file = IncludedFile("role", include_variables, new_task, is_role=True)
|
||||
inc_file = IncludedFile(role_name, include_variables, new_task, is_role=True)
|
||||
|
||||
try:
|
||||
pos = included_files.index(inc_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue