1
0
Fork 0
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:
Brian Coca 2016-03-21 08:04:52 -07:00
commit 3ae9a272e0

View file

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