From 70d61fe7e8ca8e618d49e66ab841a1eda6ede1c5 Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Tue, 30 Oct 2012 18:31:16 -0400 Subject: [PATCH] need to use the variabled results --- lib/ansible/runner/action_plugins/add_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/action_plugins/add_host.py b/lib/ansible/runner/action_plugins/add_host.py index 2dcb85c240..5b3aed8120 100644 --- a/lib/ansible/runner/action_plugins/add_host.py +++ b/lib/ansible/runner/action_plugins/add_host.py @@ -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.")