Fixing role dependency chain creation

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
This commit is contained in:
James Cammarata
2016-01-22 12:44:56 -05:00
parent abecb520ad
commit fb797a9e77
3 changed files with 22 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
- assert:
that:
- 'extra_var == "extra_var"'
- 'param_var == "param_var"'
- 'param_var == "param_var_role1"'
- 'vars_var == "vars_var"'
- 'vars_files_var == "vars_files_var"'
- 'vars_files_var_role == "vars_files_var_dep"'