hosts.py: Added missing json.dumps

dehydrated
Felix Stupp 5 years ago
parent d40a8cee92
commit d59f4914b6
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -24,4 +24,4 @@ def parse(path):
ret[group]["hosts"].append(host) ret[group]["hosts"].append(host)
return ret return ret
print(parse("hosts.yml")) print(json.dumps(parse("hosts.yml")))

Loading…
Cancel
Save