|
|
@ -331,6 +331,9 @@ class StrategyBase:
|
|
|
|
self._variable_manager.set_host_facts(target_host, facts)
|
|
|
|
self._variable_manager.set_host_facts(target_host, facts)
|
|
|
|
elif result[0].startswith('v2_playbook_item') or result[0] == 'v2_playbook_retry':
|
|
|
|
elif result[0].startswith('v2_playbook_item') or result[0] == 'v2_playbook_retry':
|
|
|
|
self._tqm.send_callback(result[0], result[1])
|
|
|
|
self._tqm.send_callback(result[0], result[1])
|
|
|
|
|
|
|
|
elif result[0] == 'v2_on_file_diff':
|
|
|
|
|
|
|
|
if self._diff:
|
|
|
|
|
|
|
|
self._tqm.send_callback('v2_on_file_diff', result[1])
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
raise AnsibleError("unknown result message received: %s" % result[0])
|
|
|
|
raise AnsibleError("unknown result message received: %s" % result[0])
|
|
|
|
|
|
|
|
|
|
|
|