mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 22:51:23 -07:00
Initial crack at the file module
This commit is contained in:
parent
8914a1a0d7
commit
be55145a1e
3 changed files with 237 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue