mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #14977 from towolf/hide_ok_items_in_actionable
For `actionable` cb plugin also hide ok for itemized results
This commit is contained in:
commit
3ae9a272e0
1 changed files with 3 additions and 4 deletions
|
@ -50,8 +50,6 @@ class CallbackModule(CallbackModule_default):
|
||||||
if result._result.get('changed', False):
|
if result._result.get('changed', False):
|
||||||
self.display_task_banner()
|
self.display_task_banner()
|
||||||
self.super_ref.v2_runner_on_ok(result)
|
self.super_ref.v2_runner_on_ok(result)
|
||||||
else:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def v2_runner_on_unreachable(self, result):
|
def v2_runner_on_unreachable(self, result):
|
||||||
self.display_task_banner()
|
self.display_task_banner()
|
||||||
|
@ -64,8 +62,9 @@ class CallbackModule(CallbackModule_default):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def v2_runner_item_on_ok(self, result):
|
def v2_runner_item_on_ok(self, result):
|
||||||
self.display_task_banner()
|
if result._result.get('changed', False):
|
||||||
self.super_ref.v2_runner_item_on_ok(result)
|
self.display_task_banner()
|
||||||
|
self.super_ref.v2_runner_item_on_ok(result)
|
||||||
|
|
||||||
def v2_runner_item_on_skipped(self, result):
|
def v2_runner_item_on_skipped(self, result):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue