Arguments to setup module should be json.

This commit is contained in:
Jeroen Hoekx 2012-05-15 17:43:01 +02:00
parent 404c3acbbf
commit 4f70245eb6

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)