private_role_vars=yes prevents to import roles using vars from the parent role #57477
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
P3
Priority 3 - Approved, No Time Limitation
python3
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
utilities
Utilities category
SUMMARY
private_role_vars=yes
prevents to import roles using vars from the parent roleISSUE TYPE
COMPONENT NAME
import_role
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
print_string role should inherit var
string="Leo Tolstoi went for a walk"
because this var is intentionally specified for the import_role taskACTUAL RESULTS
print_string does not see var
string
because it contains variable from the parent roleThe text was updated successfully, but these errors were encountered: