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:
parent
47bcceeaf3
commit
4938b98e4e
1 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue