mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Misc cleanup -- moved function out of utils, removed debug statement.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user