Merge "Use versionless keystone endpoints"
This commit is contained in:
commit
7c7ead154d
@ -418,9 +418,9 @@ kibana_user: "kibana"
|
|||||||
####################
|
####################
|
||||||
# Keystone options
|
# Keystone options
|
||||||
####################
|
####################
|
||||||
keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3"
|
keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}"
|
||||||
keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3"
|
keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}"
|
||||||
keystone_public_url: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ keystone_public_port }}/v3"
|
keystone_public_url: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ keystone_public_port }}"
|
||||||
|
|
||||||
# Valid options are [ uuid, fernet ]
|
# Valid options are [ uuid, fernet ]
|
||||||
keystone_token_provider: "uuid"
|
keystone_token_provider: "uuid"
|
||||||
|
21
ansible/roles/keystone/tasks/update_endpoints.yml
Normal file
21
ansible/roles/keystone/tasks/update_endpoints.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
---
|
||||||
|
- name: Updating keystone endpoints
|
||||||
|
kolla_toolbox:
|
||||||
|
module_name: "kolla_keystone_service"
|
||||||
|
module_args:
|
||||||
|
service_name: "keystone"
|
||||||
|
service_type: "identity"
|
||||||
|
description: "Identity Service"
|
||||||
|
endpoint_region: "{{ openstack_region_name }}"
|
||||||
|
url: "{{ item.url }}"
|
||||||
|
interface: "{{ item.interface }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
|
auth: "{{ '{{ openstack_keystone_auth }}' }}"
|
||||||
|
module_extra_vars:
|
||||||
|
openstack_keystone_auth: "{{ openstack_keystone_auth }}"
|
||||||
|
run_once: True
|
||||||
|
register: update
|
||||||
|
with_items:
|
||||||
|
- {'interface': 'admin', 'url': '{{ keystone_admin_url }}'}
|
||||||
|
- {'interface': 'internal', 'url': '{{ keystone_internal_url }}'}
|
||||||
|
- {'interface': 'public', 'url': '{{ keystone_public_url }}'}
|
@ -5,3 +5,6 @@
|
|||||||
|
|
||||||
- name: Flush handlers
|
- name: Flush handlers
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
|
#NOTE(egonzalez): Remove after Pike is released
|
||||||
|
- include: update_endpoints.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user