Do not append msg to verbose tasks (#46721)

pull/4420/head
akatch 2018-10-10 11:11:43 -05:00 committed by Brian Coca
parent 2c24cfb401
commit 878599fd9f
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ class CallbackModule(CallbackBase):
if self._run_is_verbose(result):
task_result = "%s %s: %s" % (task_host, msg, self._dump_results(result._result, indent=4))
return task_result
if self.delegated_vars:
task_delegate_host = self.delegated_vars['ansible_host']