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 Brian Coca
parent 1aecfc1e19
commit e8391d6985

View file

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