mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 21:30:22 -07:00
Slightly trim down the warnings list based on some things being pretty common
for local usage.
This commit is contained in:
parent
ab8490d003
commit
fcb610dec4
3 changed files with 9 additions and 2 deletions
|
@ -537,7 +537,7 @@ class PlaybookRunnerCallbacks(DefaultRunnerCallbacks):
|
|||
display(msg, color='yellow', runner=self.runner)
|
||||
if constants.COMMAND_WARNINGS and 'warnings' in host_result2 and host_result2['warnings']:
|
||||
for warning in host_result2['warnings']:
|
||||
display("warn: %s" % warning, color='purple', runner=self.runner)
|
||||
display("warning: %s" % warning, color='purple', runner=self.runner)
|
||||
super(PlaybookRunnerCallbacks, self).on_ok(host, host_result)
|
||||
|
||||
def on_skipped(self, host, item=None):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue