This commit is contained in:
Alan Rominger 2021-05-06 13:34:24 -04:00
parent 15effd7ade
commit 53e8a9e709
No known key found for this signature in database
GPG Key ID: C2D7EAAA12B63559

View File

@ -1160,7 +1160,7 @@ class BaseTask(object):
if event_data.get('event') in MINIMAL_EVENTS:
should_emit = True # always send some types like playbook_on_stats
if event_data.get('stdout') == '' and event_data['start_line'] == event_data['end_line']:
elif event_data.get('stdout') == '' and event_data['start_line'] == event_data['end_line']:
should_emit = False # exclude events with no output
else:
should_emit = any(