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:
parent
cc789a0278
commit
2f9fbba8e0
@ -60,7 +60,7 @@
|
||||
endpoint: "{{ keystone_service_adminurl }}"
|
||||
user_name: "{{ service_user_name }}"
|
||||
tenant_name: "{{ service_tenant_name }}"
|
||||
role_name: "{{ role_name }}"
|
||||
role_name: "{{ cinder_service_role_name }}"
|
||||
insecure: "{{ keystone_service_adminuri_insecure }}"
|
||||
register: add_service
|
||||
when: not cinder_service_in_ldap | bool
|
||||
|
@ -25,7 +25,6 @@
|
||||
service_publicurl: "{{ cinder_service_publicurl }}"
|
||||
service_internalurl: "{{ cinder_service_internalurl }}"
|
||||
service_adminurl: "{{ cinder_service_adminurl }}"
|
||||
role_name: "{{ cinder_service_role_name }}"
|
||||
tags:
|
||||
- cinder-server
|
||||
|
||||
@ -41,6 +40,5 @@
|
||||
service_publicurl: "{{ cinder_service_v2_publicurl }}"
|
||||
service_internalurl: "{{ cinder_service_v2_internalurl }}"
|
||||
service_adminurl: "{{ cinder_service_v2_adminurl }}"
|
||||
role_name: "{{ cinder_service_role_name }}"
|
||||
tags:
|
||||
- cinder-server
|
||||
|
Loading…
x
Reference in New Issue
Block a user