Remove swiftoperator role from glance user

* This is redundant and not required
* service:glance already has the "admin" role
* The glance user can already access swift by default

Fixes #638
This commit is contained in:
Andy McCrae 2014-11-25 10:31:01 +00:00
parent cd64cb2c1e
commit 246b483129

View File

@ -22,16 +22,3 @@
login_password="{{ auth_admin_password }}"
endpoint="{{ auth_admin_uri }}"
role_name="swiftoperator"
# Ensure glance user has the swiftoperator role when glance is using swift
- name: Ensure Glance User has swiftoperator Role
keystone: >
command=ensure_user_role
login_tenant_name="{{ auth_admin_tenant }}"
login_user="{{ auth_admin_username }}"
login_password="{{ auth_admin_password }}"
endpoint="{{ auth_admin_uri }}"
user_name="glance"
tenant_name="{{ auth_admin_tenant }}"
role_name="swiftoperator"
when: glance_default_store is defined and glance_default_store == "swift"