Fix ansible-test cloud vars overwrite.
This commit is contained in:
parent
218f4276d5
commit
d9c44897a6
1 changed files with 3 additions and 1 deletions
|
@ -1329,8 +1329,10 @@ def command_integration_role(args, target, start_at_task, test_dir, inventory_pa
|
||||||
)
|
)
|
||||||
|
|
||||||
if env_config:
|
if env_config:
|
||||||
|
if env_config.ansible_vars:
|
||||||
|
variables.update(env_config.ansible_vars)
|
||||||
|
|
||||||
play.update(dict(
|
play.update(dict(
|
||||||
vars=env_config.ansible_vars,
|
|
||||||
environment=env_config.env_vars,
|
environment=env_config.env_vars,
|
||||||
module_defaults=env_config.module_defaults,
|
module_defaults=env_config.module_defaults,
|
||||||
))
|
))
|
||||||
|
|
Loading…
Add table
Reference in a new issue