1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-29 23:49:09 +00:00

Initial crack at the file module

This commit is contained in:
Michael DeHaan 2012-03-15 21:53:14 -04:00
parent 8914a1a0d7
commit be55145a1e
3 changed files with 237 additions and 5 deletions

View file

@ -206,6 +206,8 @@ def parse_json(data):
if key == 'rc':
value = int(value)
results[key] = value
if len(results.keys()) == 0:
return { "failed" : True, "parsed" : False, "msg" : data }
return results