Fixing bug in includes caused by 892d9b8

Fixes #12837
pull/12834/merge
James Cammarata 9 years ago
parent 31ebafcbdd
commit 3c87c44af5

@ -94,9 +94,9 @@ class IncludedFile:
include_target = templar.template(include_result['include'])
include_file = loader.path_dwim_relative(original_task._role._role_path, 'tasks', include_target)
else:
include_file = loader.path_dwim(res._task.args.get('_raw_params'))
include_file = loader.path_dwim(include_result['include'])
else:
include_file = loader.path_dwim(res._task.args.get('_raw_params'))
include_file = loader.path_dwim(include_result['include'])
include_file = templar.template(include_file)
inc_file = IncludedFile(include_file, include_variables, original_task)

Loading…
Cancel
Save