Don't print results from explicit gather facts
When gather_facts is explicit and then is run, it shows up as a 'setup' task in the execution. It's noise in the log. Change-Id: I1a9776dcb4c832827d394f5e8f425bd21efdd089
This commit is contained in:
parent
6515def66d
commit
9fa148291a
|
@ -226,7 +226,7 @@ class CallbackModule(default.CallbackModule):
|
|||
self._clean_results(result._result, result._task.action)
|
||||
self._process_result_for_localhost(result)
|
||||
|
||||
if result._task.action in ('include', 'include_role'):
|
||||
if result._task.action in ('include', 'include_role', 'setup'):
|
||||
return
|
||||
|
||||
if result._result.get('changed', False):
|
||||
|
|
Loading…
Reference in New Issue