mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Merge role params into variables separately from other variables
Fixes #13617
This commit is contained in:
parent
e957335b0d
commit
a4674906c6
2 changed files with 7 additions and 0 deletions
|
@ -308,6 +308,7 @@ class VariableManager:
|
|||
|
||||
if not C.DEFAULT_PRIVATE_ROLE_VARS:
|
||||
for role in play.get_roles():
|
||||
all_vars = combine_vars(all_vars, role.get_role_params())
|
||||
all_vars = combine_vars(all_vars, role.get_vars(include_params=False))
|
||||
|
||||
if task:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue