From 72cf11f8e1b7f802cf6f3f0e2216782cf0d3a163 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Wed, 15 Apr 2015 00:59:39 -0400 Subject: [PATCH] Fix serialize function by using the right members name --- v2/ansible/playbook/role/metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/ansible/playbook/role/metadata.py b/v2/ansible/playbook/role/metadata.py index 05ed2f3585..461a9a4a62 100644 --- a/v2/ansible/playbook/role/metadata.py +++ b/v2/ansible/playbook/role/metadata.py @@ -82,8 +82,8 @@ class RoleMetadata(Base): def serialize(self): return dict( - allow_duplicates = self.allow_duplicates, - dependencies = self.dependencies, + allow_duplicates = self._allow_duplicates, + dependencies = self._dependencies, ) def deserialize(self, data):