mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
Fixing broken set_extra_vars method after fixing unit tests (v2)
This commit is contained in:
parent
48d62fd934
commit
ac7dce4631
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ class PlaybookCLI(CLI):
|
||||||
# create the variable manager, which will be shared throughout
|
# create the variable manager, which will be shared throughout
|
||||||
# the code, ensuring a consistent view of global variables
|
# the code, ensuring a consistent view of global variables
|
||||||
variable_manager = VariableManager()
|
variable_manager = VariableManager()
|
||||||
variable_manager.set_extra_vars(extra_vars)
|
variable_manager.extra_vars = extra_vars
|
||||||
|
|
||||||
# create the inventory, and filter it based on the subset specified (if any)
|
# create the inventory, and filter it based on the subset specified (if any)
|
||||||
inventory = Inventory(loader=loader, variable_manager=variable_manager, host_list=self.options.inventory)
|
inventory = Inventory(loader=loader, variable_manager=variable_manager, host_list=self.options.inventory)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue