Commit 8975fe5a by Michael DeHaan

Merge pull request #396 from jhoekx/setup-json

Arguments to setup module should be json.
parents 404c3acb 4f70245e
...@@ -275,6 +275,8 @@ class Runner(object): ...@@ -275,6 +275,8 @@ class Runner(object):
return [ utils.smjson(dict(skipped=True)), None, 'skipped' ] return [ utils.smjson(dict(skipped=True)), None, 'skipped' ]
if self.module_name == 'setup': if self.module_name == 'setup':
if not args:
args = {}
args = self._add_setup_vars(inject, args) args = self._add_setup_vars(inject, args)
args = self._add_setup_metadata(args) args = self._add_setup_metadata(args)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment