mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 19:32:47 +00:00
For actionable cb plugin also hide ok for itemized results
The purpose of the `actionable` callback plugin is to hide uninteresting results. Also hide the ok results when the task was itemized.
This commit is contained in:
@@ -50,8 +50,6 @@ class CallbackModule(CallbackModule_default):
|
||||
if result._result.get('changed', False):
|
||||
self.display_task_banner()
|
||||
self.super_ref.v2_runner_on_ok(result)
|
||||
else:
|
||||
pass
|
||||
|
||||
def v2_runner_on_unreachable(self, result):
|
||||
self.display_task_banner()
|
||||
@@ -64,8 +62,9 @@ class CallbackModule(CallbackModule_default):
|
||||
pass
|
||||
|
||||
def v2_runner_item_on_ok(self, result):
|
||||
self.display_task_banner()
|
||||
self.super_ref.v2_runner_item_on_ok(result)
|
||||
if result._result.get('changed', False):
|
||||
self.display_task_banner()
|
||||
self.super_ref.v2_runner_item_on_ok(result)
|
||||
|
||||
def v2_runner_item_on_skipped(self, result):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user