add region name for tasks
when use multiple regions, those tasks always get a wrong endpoint. Change-Id: Ie164687b2ffd80cedf8a00e7f705b73fccd416e2
This commit is contained in:
parent
72fd444e31
commit
60dc012817
@ -28,4 +28,5 @@
|
|||||||
auth: "{{ openstack_keystone_auth }}"
|
auth: "{{ openstack_keystone_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
auth: "{{ openstack_magnum_auth }}"
|
auth: "{{ openstack_magnum_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
register: trustee_domain
|
register: trustee_domain
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
@ -31,6 +32,7 @@
|
|||||||
auth: "{{ openstack_magnum_auth }}"
|
auth: "{{ openstack_magnum_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
|
||||||
- name: Creating Magnum trustee user role
|
- name: Creating Magnum trustee user role
|
||||||
@ -44,4 +46,5 @@
|
|||||||
auth: "{{ openstack_magnum_auth }}"
|
auth: "{{ openstack_magnum_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
auth: "{{ openstack_octavia_auth }}"
|
auth: "{{ openstack_octavia_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
when: octavia_service_auth_project != 'service'
|
when: octavia_service_auth_project != 'service'
|
||||||
|
|
||||||
@ -30,5 +31,6 @@
|
|||||||
auth: "{{ openstack_octavia_auth }}"
|
auth: "{{ openstack_octavia_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
with_items: "{{ octavia_required_roles }}"
|
with_items: "{{ octavia_required_roles }}"
|
||||||
|
@ -18,4 +18,5 @@
|
|||||||
auth: "{{ openstack_vitrage_auth }}"
|
auth: "{{ openstack_vitrage_auth }}"
|
||||||
endpoint_type: "{{ openstack_interface }}"
|
endpoint_type: "{{ openstack_interface }}"
|
||||||
cacert: "{{ openstack_cacert }}"
|
cacert: "{{ openstack_cacert }}"
|
||||||
|
region_name: "{{ openstack_region_name }}"
|
||||||
run_once: True
|
run_once: True
|
||||||
|
Loading…
Reference in New Issue
Block a user