mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fb797a9e77
The dep chain for roles created during the compile step had bugs, in which the dep chain was overwriten and the original tasks in the role were not assigned a dep chain. This lead to problems in determining whether roles had already run when in a "diamond" structure, and in some cases roles were not correctly getting variables from parents. Fixes #14046
14 lines
457 B
YAML
14 lines
457 B
YAML
- debug: var=extra_var
|
|
- debug: var=param_var
|
|
- debug: var=vars_var
|
|
- debug: var=vars_files_var
|
|
- debug: var=vars_files_var_role
|
|
- debug: var=defaults_file_var_role1
|
|
- assert:
|
|
that:
|
|
- 'extra_var == "extra_var"'
|
|
- 'param_var == "param_var_role1"'
|
|
- 'vars_var == "vars_var"'
|
|
- 'vars_files_var == "vars_files_var"'
|
|
- 'vars_files_var_role == "vars_files_var_dep"'
|
|
- 'defaults_file_var_role1 == "defaults_file_var_role1"'
|