diff --git a/library/cloud/rax_identity b/library/cloud/rax_identity index 9de4db96611..ea40ea2ef46 100644 --- a/library/cloud/rax_identity +++ b/library/cloud/rax_identity @@ -65,10 +65,8 @@ def cloud_identity(module, state, identity): ) changed = False - for key, value in vars(identity).iteritems(): - if (isinstance(value, NON_CALLABLES) and - not key.startswith('_')): - instance[key] = value + instance.update(rax_to_dict(identity)) + instance['services'] = instance.get('services', {}).keys() if state == 'present': if not identity.authenticated: