Ensure keystone endpoint is updatable
Change-Id: Ia4ec794bb2b18aca2592b62a35066c237192a0f3
This commit is contained in:
parent
dd7303cc71
commit
6191c775c1
@ -7,6 +7,27 @@
|
|||||||
run_once: True
|
run_once: True
|
||||||
with_items: "{{ multiple_regions_names }}"
|
with_items: "{{ multiple_regions_names }}"
|
||||||
|
|
||||||
|
# NOTE(jeffrey4l): Since keystone-manage bootstrap cloud not update the endpoint,
|
||||||
|
# run kolla_keystone_service module again.
|
||||||
|
- name: Creating the Keystone service and endpoint
|
||||||
|
kolla_toolbox:
|
||||||
|
module_name: "kolla_keystone_service"
|
||||||
|
module_args:
|
||||||
|
service_name: "keystone"
|
||||||
|
service_type: "identity"
|
||||||
|
description: "Openstack Identity Service"
|
||||||
|
endpoint_region: "{{ openstack_region_name }}"
|
||||||
|
url: "{{ item.url }}"
|
||||||
|
interface: "{{ item.interface }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
|
auth: "{{ openstack_keystone_auth }}"
|
||||||
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
|
run_once: True
|
||||||
|
with_items:
|
||||||
|
- { interface: admin, url: "{{ keystone_admin_url }}" }
|
||||||
|
- { interface: internal, url: "{{ keystone_internal_url }}" }
|
||||||
|
- { interface: public, url: "{{ keystone_public_url }}" }
|
||||||
|
|
||||||
- name: Creating default user role
|
- name: Creating default user role
|
||||||
kolla_toolbox:
|
kolla_toolbox:
|
||||||
module_name: "os_keystone_role"
|
module_name: "os_keystone_role"
|
||||||
|
Loading…
Reference in New Issue
Block a user