Re-adding role_name/role_uuid variables

pull/13344/head
James Cammarata 9 years ago
parent 8d9835c40b
commit 5b6162a166

@ -383,7 +383,9 @@ class VariableManager:
if task: if task:
if task._role: if task._role:
variables['role_name'] = task._role.get_name()
variables['role_path'] = task._role._role_path variables['role_path'] = task._role._role_path
variables['role_uuid'] = task._role._uuid
if self._inventory is not None: if self._inventory is not None:
variables['inventory_dir'] = self._inventory.basedir() variables['inventory_dir'] = self._inventory.basedir()

Loading…
Cancel
Save