need to use the variabled results
This commit is contained in:
parent
e147ad4213
commit
70d61fe7e8
|
@ -34,7 +34,7 @@ class ActionModule(object):
|
|||
self.runner = runner
|
||||
|
||||
def run(self, conn, tmp, module_name, module_args, inject):
|
||||
args = parse_kv(self.runner.module_args)
|
||||
args = parse_kv(module_args)
|
||||
if not 'hostname' in args:
|
||||
raise ae("'hostname' is a required argument.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue