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:
Monty Taylor 2017-07-01 06:18:24 -05:00
parent 6515def66d
commit 9fa148291a
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 1 additions and 1 deletions

View File

@ -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):