mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Add ansible_parent_role_names magic variable (#46687)
-Add: Test cases for ansible_parent_role_names and ansible_parent_role_paths -Add: ansible_parent_role_names/paths variables for when a role is being included by another role.
This commit is contained in:
5
changelogs/fragments/include-role-name.yaml
Normal file
5
changelogs/fragments/include-role-name.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
minor_changes:
|
||||
- magic variables - added a new ``ansible_parent_role_names`` magic variable that, when a role is included by another
|
||||
role, contains a list of all parent roles.
|
||||
- magic variables - added a new ``ansible_parent_role_paths`` magic variable that, when a role is included by another
|
||||
role, contains a list of all parent role paths.
|
||||
Reference in New Issue
Block a user