Remove use of role_name variable

`role_name` is a reserved variable name. Instead, use the explicit
service_role_name variables when adding roles to users.

Change-Id: Ia5fa0e400aeec6d808891c5dd793ee8177d9b5f3
This commit is contained in:
Jimmy McCrory 2016-01-10 12:41:52 -08:00
parent dc0da5c6e9
commit a5331e2f62
2 changed files with 1 additions and 2 deletions

View File

@ -60,7 +60,7 @@
endpoint: "{{ keystone_service_adminurl }}"
user_name: "{{ service_user_name }}"
tenant_name: "{{ service_tenant_name }}"
role_name: "{{ role_name }}"
role_name: "{{ nova_service_role_name }}"
insecure: "{{ keystone_service_adminuri_insecure }}"
register: add_service
when: not nova_service_in_ldap | bool

View File

@ -25,6 +25,5 @@
service_publicurl: "{{ nova_service_publicurl }}"
service_internalurl: "{{ nova_service_internalurl }}"
service_adminurl: "{{ nova_service_adminurl }}"
role_name: "{{ nova_service_role_name }}"
tags:
- nova-api