mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Misc cleanup -- moved function out of utils, removed debug statement.
This commit is contained in:
parent
19a2fc00dc
commit
706cfd9ade
3 changed files with 4 additions and 9 deletions
|
@ -63,13 +63,6 @@ def smjson(result):
|
|||
result2 = result.copy()
|
||||
return json.dumps(result2, sort_keys=True)
|
||||
|
||||
def task_start_msg(name, conditional):
|
||||
# FIXME: move to callbacks code
|
||||
if conditional:
|
||||
return "NOTIFIED: [%s]" % name
|
||||
else:
|
||||
return "TASK: [%s]" % name
|
||||
|
||||
def regular_generic_msg(hostname, result, oneline, caption):
|
||||
''' output on the result of a module run that is not command '''
|
||||
if not oneline:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue