mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix code handling if module_vars is None
This commit is contained in:
parent
803672a769
commit
67d1169674
1 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,9 @@ class Runner(object):
|
|||
else:
|
||||
self.inventory = inventory
|
||||
|
||||
if module_vars is None:
|
||||
module_vars = {}
|
||||
|
||||
self.setup_cache = setup_cache
|
||||
self.conditional = conditional
|
||||
self.module_path = module_path
|
||||
|
|
Loading…
Reference in a new issue