Fix bug in registered variables related to delegate_to changes

This commit is contained in:
James Cammarata
2015-07-08 12:38:24 -04:00
parent f5baad4fb2
commit 27fcf1a4b5
3 changed files with 10 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ class ResultProcess(multiprocessing.Process):
# if this task is registering a result, do it now
if result._task.register:
self._send_result(('set_host_var', result._host, result._task, None, result._task.register, result._result))
self._send_result(('register_host_var', result._host, result._task.register, result._result))
# send callbacks, execute other options based on the result status
# FIXME: this should all be cleaned up and probably moved to a sub-function.