mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
@@ -366,6 +366,7 @@ class VariableManager:
|
||||
variables['role_names'] = [r._role_name for r in play.roles]
|
||||
|
||||
if task:
|
||||
variables['environment'] = task.environment
|
||||
if task._role:
|
||||
variables['role_path'] = task._role._role_path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user