From c6a30f70005e86dcfc9779e17b24f0e3f44d40d9 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Mon, 30 Nov 2015 10:26:12 -0500 Subject: [PATCH] Make sure the uuid in vars is string --- lib/ansible/vars/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/vars/__init__.py b/lib/ansible/vars/__init__.py index 63c7a237aa0..a6bbdff8bc5 100644 --- a/lib/ansible/vars/__init__.py +++ b/lib/ansible/vars/__init__.py @@ -385,7 +385,7 @@ class VariableManager: if task._role: variables['role_name'] = task._role.get_name() 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: variables['inventory_dir'] = self._inventory.basedir()