1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Make sure the uuid in vars is string

This commit is contained in:
James Cammarata 2015-11-30 10:26:12 -05:00
parent f926e81782
commit c6a30f7000

View file

@ -385,7 +385,7 @@ class VariableManager:
if task._role: if task._role:
variables['role_name'] = task._role.get_name() 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 variables['role_uuid'] = unicode(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()