Merge pull request #396 from jhoekx/setup-json

Arguments to setup module should be json.
This commit is contained in:
Michael DeHaan 2012-05-15 10:03:11 -07:00
commit 81866ccac4

View file

@ -275,6 +275,8 @@ class Runner(object):
return [ utils.smjson(dict(skipped=True)), None, 'skipped' ]
if self.module_name == 'setup':
if not args:
args = {}
args = self._add_setup_vars(inject, args)
args = self._add_setup_metadata(args)