mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 07:01:22 -07:00
Leverage cowsay if installed.
This commit is contained in:
parent
960e7c331c
commit
0972b761de
3 changed files with 21 additions and 7 deletions
|
@ -65,9 +65,9 @@ def smjson(result):
|
|||
|
||||
def task_start_msg(name, conditional):
|
||||
if conditional:
|
||||
return "\nNOTIFIED: [%s] **********\n" % name
|
||||
return "NOTIFIED: [%s]" % name
|
||||
else:
|
||||
return "\nTASK: [%s] *********\n" % name
|
||||
return "TASK: [%s]" % name
|
||||
|
||||
def regular_generic_msg(hostname, result, oneline, caption):
|
||||
''' output on the result of a module run that is not command '''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue