Fixed #237 - improved embedded JSON support handling (#1530)

This commit is contained in:
Adam Romanek 2016-04-19 17:20:51 +02:00 committed by Matt Clay
parent e5742c3a47
commit faa3c54531

View file

@ -126,6 +126,8 @@ def main():
component = module.params['component']
name = module.params['name']
value = module.params['value']
if not isinstance(value, str):
value = json.dumps(value)
vhost = module.params['vhost']
state = module.params['state']
node = module.params['node']