Re-adding role_name/role_uuid variables

This commit is contained in:
James Cammarata 2015-11-28 09:08:10 -05:00
parent 47651e6c22
commit 54843d88ee

View file

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