You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/units
Daniel Miranda 57f4a9885e Make sure include_role inherit variables from parent role (#18627)
* Make sure include_role inherit variables from parent role

Setting the parent of task blocks generated by include_role after they
have been produced is not sufficient - it means the tasks don't have the
correct dependency chain set afterwards, and therefore, don't properly
inherit variables from outer roles.

In addition to manually setting the parents, pass the dep_chain when
compiling the role, such that variables are correctly imported.

Fixes #18540.

* Add tests for include_role

* Fix include_role variable inheritance for multiple parent levels
9 years ago
..
cli set galaxy unit test server to None (#18298) 9 years ago
contrib skip vmware inventory when missing lib 9 years ago
errors Add empty-init code-smell script. (#18406) 9 years ago
executor Add empty-init code-smell script. (#18406) 9 years ago
inventory Add empty-init code-smell script. (#18406) 9 years ago
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 11 years ago
mock Add empty-init code-smell script. (#18406) 9 years ago
module_utils Add empty-init code-smell script. (#18406) 9 years ago
modules Clean up shebangs for various files. 9 years ago
parsing Fix unit test dirs to match code under test. 9 years ago
playbook Make sure include_role inherit variables from parent role (#18627) 9 years ago
plugins Mcsalgado's change to use shlex.quote instead of pipes.quote (#18534) 9 years ago
template Add empty-init code-smell script. (#18406) 9 years ago
utils FEATURE: adding variable serial batches 10 years ago
vars ansible_playbook_python (#18530) 9 years ago
__init__.py Add empty-init code-smell script. (#18406) 9 years ago