mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
need to use the variabled results
This commit is contained in:
parent
e147ad4213
commit
70d61fe7e8
1 changed files with 1 additions and 1 deletions
|
@ -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.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue