mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-01 04:30:22 -07:00
Fixing includes where the included file is "{{item}}"
This commit is contained in:
parent
46b33152c8
commit
1d8ccfb99f
3 changed files with 10 additions and 8 deletions
|
@ -142,12 +142,6 @@ class ResultProcess(multiprocessing.Process):
|
|||
result_items = [ result._result ]
|
||||
|
||||
for result_item in result_items:
|
||||
#if 'include' in result_item:
|
||||
# include_variables = result_item.get('include_variables', dict())
|
||||
# if 'item' in result_item:
|
||||
# include_variables['item'] = result_item['item']
|
||||
# self._send_result(('include', result._host, result._task, result_item['include'], include_variables))
|
||||
#elif 'add_host' in result_item:
|
||||
if 'add_host' in result_item:
|
||||
# this task added a new host (add_host module)
|
||||
self._send_result(('add_host', result_item))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue