mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix variable referenced before assignment when not using external variables script
This commit is contained in:
@@ -291,6 +291,7 @@ class Runner(object):
|
||||
args = [ str(x) for x in module_args ]
|
||||
args = " ".join(args)
|
||||
inject_vars = self.setup_cache.get(conn.host,{})
|
||||
inject2 = {}
|
||||
|
||||
# if the host file was an external script, execute it with the hostname
|
||||
# as a first parameter to get the variables to use for the host
|
||||
|
||||
Reference in New Issue
Block a user