Merge "Explicitly specify endpoint type during Monasca registration"

This commit is contained in:
Zuul 2018-08-20 08:43:39 +00:00 committed by Gerrit Code Review
commit 1a6d28e756

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}"
auth: "{{ monasca_openstack_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ monasca_api_admin_endpoint }}'}
@ -29,6 +30,7 @@
interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}"
auth: "{{ monasca_openstack_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True
with_items:
- {'interface': 'admin', 'url': '{{ monasca_log_api_admin_endpoint }}'}
@ -45,6 +47,7 @@
role: "admin"
region_name: "{{ openstack_region_name }}"
auth: "{{ monasca_openstack_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True
- name: Creating monasca roles
@ -54,6 +57,7 @@
name: "{{ item }}"
region_name: "{{ openstack_region_name }}"
auth: "{{ monasca_openstack_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True
with_items:
- "{{ monasca_default_authorized_roles }}"