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

pull/4420/head
Adam Romanek 2016-04-19 17:20:51 +02:00 committed by Matt Clay
parent e5742c3a47
commit faa3c54531
1 changed files with 2 additions and 0 deletions

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']