Commit 70d61fe7 by Seth Vidal

need to use the variabled results

parent e147ad42
...@@ -34,7 +34,7 @@ class ActionModule(object): ...@@ -34,7 +34,7 @@ class ActionModule(object):
self.runner = runner self.runner = runner
def run(self, conn, tmp, module_name, module_args, inject): 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: if not 'hostname' in args:
raise ae("'hostname' is a required argument.") raise ae("'hostname' is a required argument.")
......
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