Fix deployment with public TLS enabled

When deploying with tls enabled in public
endpoints, ansible modules fails due SSL certificates
are self-signed.

This change adds a new variable to allow customization
on which endpoints ansible should connect.
Defaults to admin because admin auth parameters defaults
to admin endpoint.

Change-Id: Ic3ed58cf9c9579cae08a11bbfe6fce983b5a9cbc
Closes-Bug: #1720995
This commit is contained in:
Eduardo Gonzalez 2017-10-03 14:48:55 +02:00
parent 709c6b7ba5
commit 56374206be
38 changed files with 88 additions and 0 deletions

View File

@ -319,6 +319,10 @@ openstack_auth:
project_name: "admin" project_name: "admin"
domain_name: "default" domain_name: "default"
# Endpoint type used to connect with OpenStack services with ansible modules.
# Valid options are [ public, internal, admin ]
openstack_interface: "admin"
# These roles are required for Kolla to be operation, however a savvy deployer # These roles are required for Kolla to be operation, however a savvy deployer
# could disable some of these required roles and run their own services. # could disable some of these required roles and run their own services.
enable_glance: "yes" enable_glance: "yes"

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_aodh_auth }}' }}" auth: "{{ '{{ openstack_aodh_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_aodh_auth: "{{ openstack_aodh_auth }}" openstack_aodh_auth: "{{ openstack_aodh_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_aodh_auth }}' }}" auth: "{{ '{{ openstack_aodh_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_aodh_auth: "{{ openstack_aodh_auth }}" openstack_aodh_auth: "{{ openstack_aodh_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_barbican_auth }}' }}" auth: "{{ '{{ openstack_barbican_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_barbican_auth: "{{ openstack_barbican_auth }}" openstack_barbican_auth: "{{ openstack_barbican_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_barbican_auth }}' }}" auth: "{{ '{{ openstack_barbican_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_barbican_auth: "{{ openstack_barbican_auth }}" openstack_barbican_auth: "{{ openstack_barbican_auth }}"
run_once: True run_once: True
@ -39,6 +41,7 @@
module_args: module_args:
name: "{{ item }}" name: "{{ item }}"
auth: "{{ '{{ openstack_barbican_auth }}' }}" auth: "{{ '{{ openstack_barbican_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_barbican_auth: "{{ openstack_barbican_auth }}" openstack_barbican_auth: "{{ openstack_barbican_auth }}"
run_once: True run_once: True

View File

@ -9,6 +9,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ceilometer_auth }}' }}" auth: "{{ '{{ openstack_ceilometer_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}" openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}"
run_once: True run_once: True
@ -22,6 +23,7 @@
role: "ResellerAdmin" role: "ResellerAdmin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ceilometer_auth }}' }}" auth: "{{ '{{ openstack_ceilometer_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}" openstack_ceilometer_auth: "{{ openstack_ceilometer_auth }}"
when: enable_swift | bool when: enable_swift | bool

View File

@ -16,6 +16,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_swift_auth }}' }}" auth: "{{ '{{ openstack_swift_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}" openstack_swift_auth: "{{ openstack_swift_auth }}"
run_once: True run_once: True
@ -34,6 +35,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ceph_rgw_auth }}' }}" auth: "{{ '{{ openstack_ceph_rgw_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ceph_rgw_auth: "{{ openstack_swift_auth }}" openstack_ceph_rgw_auth: "{{ openstack_swift_auth }}"
run_once: True run_once: True

View File

@ -7,6 +7,7 @@
state: present state: present
size: 1 size: 1
display_name: kolla_test_volume display_name: kolla_test_volume
endpoint_type: "{{ openstack_interface }}"
run_once: True run_once: True
delegate_to: "{{ groups['cinder-api'][0] }}" delegate_to: "{{ groups['cinder-api'][0] }}"
when: kolla_enable_sanity_cinder | bool when: kolla_enable_sanity_cinder | bool
@ -18,6 +19,7 @@
auth: "{{ openstack_cinder_auth }}" auth: "{{ openstack_cinder_auth }}"
state: absent state: absent
display_name: kolla_test_volume display_name: kolla_test_volume
endpoint_type: "{{ openstack_interface }}"
run_once: True run_once: True
delegate_to: "{{ groups['cinder-api'][0] }}" delegate_to: "{{ groups['cinder-api'][0] }}"
when: kolla_enable_sanity_cinder | bool when: kolla_enable_sanity_cinder | bool

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_cinder_auth }}' }}" auth: "{{ '{{ openstack_cinder_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_cinder_auth: "{{ openstack_cinder_auth }}" openstack_cinder_auth: "{{ openstack_cinder_auth }}"
run_once: True run_once: True
@ -35,6 +36,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_cinder_auth }}' }}" auth: "{{ '{{ openstack_cinder_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_cinder_auth: "{{ openstack_cinder_auth }}" openstack_cinder_auth: "{{ openstack_cinder_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_cloudkitty_auth }}' }}" auth: "{{ '{{ openstack_cloudkitty_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}" openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_cloudkitty_auth }}' }}" auth: "{{ '{{ openstack_cloudkitty_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}" openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}"
run_once: True run_once: True
@ -39,6 +41,7 @@
module_args: module_args:
name: "{{ cloudkitty_openstack_keystone_default_role }}" name: "{{ cloudkitty_openstack_keystone_default_role }}"
auth: "{{ '{{ openstack_cloudkitty_auth }}' }}" auth: "{{ '{{ openstack_cloudkitty_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}" openstack_cloudkitty_auth: "{{ openstack_cloudkitty_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_congress_auth }}' }}" auth: "{{ '{{ openstack_congress_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_congress_auth: "{{ openstack_congress_auth }}" openstack_congress_auth: "{{ openstack_congress_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_congress_auth }}' }}" auth: "{{ '{{ openstack_congress_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_congress_auth: "{{ openstack_congress_auth }}" openstack_congress_auth: "{{ openstack_congress_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_designate_auth }}' }}" auth: "{{ '{{ openstack_designate_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_designate_auth: "{{ openstack_designate_auth }}" openstack_designate_auth: "{{ openstack_designate_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_designate_auth }}' }}" auth: "{{ '{{ openstack_designate_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_designate_auth: "{{ openstack_designate_auth }}" openstack_designate_auth: "{{ openstack_designate_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_freezer_auth }}' }}" auth: "{{ '{{ openstack_freezer_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_freezer_auth: "{{ openstack_freezer_auth }}" openstack_freezer_auth: "{{ openstack_freezer_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: admin role: admin
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_freezer_auth }}' }}" auth: "{{ '{{ openstack_freezer_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_freezer_auth: "{{ openstack_freezer_auth }}" openstack_freezer_auth: "{{ openstack_freezer_auth }}"
run_once: True run_once: True

View File

@ -6,6 +6,7 @@
auth: "{{ openstack_glance_auth }}" auth: "{{ openstack_glance_auth }}"
name: "glance_sanity_check" name: "glance_sanity_check"
filename: "/etc/hostname" filename: "/etc/hostname"
endpoint_type: "{{ openstack_interface }}"
delegate_to: "{{ groups['glance-api'][0] }}" delegate_to: "{{ groups['glance-api'][0] }}"
run_once: True run_once: True
when: kolla_enable_sanity_glance | bool when: kolla_enable_sanity_glance | bool
@ -17,6 +18,7 @@
auth: "{{ openstack_glance_auth }}" auth: "{{ openstack_glance_auth }}"
name: "glance_sanity_check" name: "glance_sanity_check"
state: absent state: absent
endpoint_type: "{{ openstack_interface }}"
delegate_to: "{{ groups['glance-api'][0] }}" delegate_to: "{{ groups['glance-api'][0] }}"
run_once: True run_once: True
when: kolla_enable_sanity_glance | bool when: kolla_enable_sanity_glance | bool

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_glance_auth }}' }}" auth: "{{ '{{ openstack_glance_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_glance_auth: "{{ openstack_glance_auth }}" openstack_glance_auth: "{{ openstack_glance_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_glance_auth }}' }}" auth: "{{ '{{ openstack_glance_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_glance_auth: "{{ openstack_glance_auth }}" openstack_glance_auth: "{{ openstack_glance_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_gnocchi_auth }}' }}" auth: "{{ '{{ openstack_gnocchi_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_gnocchi_auth: "{{ openstack_gnocchi_auth }}" openstack_gnocchi_auth: "{{ openstack_gnocchi_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_gnocchi_auth }}' }}" auth: "{{ '{{ openstack_gnocchi_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_gnocchi_auth: "{{ openstack_gnocchi_auth }}" openstack_gnocchi_auth: "{{ openstack_gnocchi_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_heat_auth }}' }}" auth: "{{ '{{ openstack_heat_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}" openstack_heat_auth: "{{ openstack_heat_auth }}"
run_once: True run_once: True
@ -32,6 +33,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_heat_auth }}' }}" auth: "{{ '{{ openstack_heat_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}" openstack_heat_auth: "{{ openstack_heat_auth }}"
run_once: True run_once: True
@ -42,6 +44,7 @@
module_args: module_args:
name: "{{ heat_stack_user_role }}" name: "{{ heat_stack_user_role }}"
auth: "{{ '{{ openstack_heat_auth }}' }}" auth: "{{ '{{ openstack_heat_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}" openstack_heat_auth: "{{ openstack_heat_auth }}"
run_once: True run_once: True
@ -52,6 +55,7 @@
module_args: module_args:
name: "{{ heat_stack_owner_role }}" name: "{{ heat_stack_owner_role }}"
auth: "{{ '{{ openstack_heat_auth }}' }}" auth: "{{ '{{ openstack_heat_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}" openstack_heat_auth: "{{ openstack_heat_auth }}"
run_once: True run_once: True
@ -65,6 +69,7 @@
role: "{{ heat_stack_owner_role }}" role: "{{ heat_stack_owner_role }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_heat_auth }}' }}" auth: "{{ '{{ openstack_heat_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_heat_auth: "{{ openstack_heat_auth }}" openstack_heat_auth: "{{ openstack_heat_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ironic_auth }}' }}" auth: "{{ '{{ openstack_ironic_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ironic_auth: "{{ openstack_ironic_auth }}" openstack_ironic_auth: "{{ openstack_ironic_auth }}"
run_once: True run_once: True
@ -30,6 +31,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ironic_auth }}' }}" auth: "{{ '{{ openstack_ironic_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ironic_auth: "{{ openstack_ironic_auth }}" openstack_ironic_auth: "{{ openstack_ironic_auth }}"
run_once: True run_once: True
@ -47,6 +49,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ironic_inspector_auth }}' }}" auth: "{{ '{{ openstack_ironic_inspector_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ironic_inspector_auth: "{{ openstack_ironic_inspector_auth }}" openstack_ironic_inspector_auth: "{{ openstack_ironic_inspector_auth }}"
run_once: True run_once: True
@ -66,6 +69,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_ironic_inspector_auth }}' }}" auth: "{{ '{{ openstack_ironic_inspector_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_ironic_inspector_auth: "{{ openstack_ironic_inspector_auth }}" openstack_ironic_inspector_auth: "{{ openstack_ironic_inspector_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_karbor_auth }}' }}" auth: "{{ '{{ openstack_karbor_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_karbor_auth: "{{ openstack_karbor_auth }}" openstack_karbor_auth: "{{ openstack_karbor_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_karbor_auth }}' }}" auth: "{{ '{{ openstack_karbor_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_karbor_auth: "{{ openstack_karbor_auth }}" openstack_karbor_auth: "{{ openstack_karbor_auth }}"
run_once: True run_once: True

View File

@ -4,6 +4,7 @@
module_name: os_auth module_name: os_auth
module_args: module_args:
auth: "{{ openstack_keystone_auth }}" auth: "{{ openstack_keystone_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True run_once: True
delegate_to: "{{ groups['keystone'][0] }}" delegate_to: "{{ groups['keystone'][0] }}"
when: kolla_enable_sanity_keystone | bool when: kolla_enable_sanity_keystone | bool

View File

@ -13,6 +13,7 @@
module_args: module_args:
name: "{{ keystone_default_user_role }}" name: "{{ keystone_default_user_role }}"
auth: "{{ '{{ openstack_keystone_auth }}' }}" auth: "{{ '{{ openstack_keystone_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_keystone_auth: "{{ openstack_keystone_auth }}" openstack_keystone_auth: "{{ openstack_keystone_auth }}"
register: default_role register: default_role

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_keystone_auth }}' }}" auth: "{{ '{{ openstack_keystone_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_keystone_auth: "{{ openstack_keystone_auth }}" openstack_keystone_auth: "{{ openstack_keystone_auth }}"
run_once: True run_once: True

View File

@ -9,6 +9,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_kuryr_auth }}' }}" auth: "{{ '{{ openstack_kuryr_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_kuryr_auth: "{{ openstack_kuryr_auth }}" openstack_kuryr_auth: "{{ openstack_kuryr_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_magnum_auth }}' }}" auth: "{{ '{{ openstack_magnum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}" openstack_magnum_auth: "{{ openstack_magnum_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_magnum_auth }}' }}" auth: "{{ '{{ openstack_magnum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}" openstack_magnum_auth: "{{ openstack_magnum_auth }}"
run_once: True run_once: True
@ -40,6 +42,7 @@
name: "{{ magnum_trustee_domain }}" name: "{{ magnum_trustee_domain }}"
description: "Owns users and projects created by magnum" description: "Owns users and projects created by magnum"
auth: "{{ '{{ openstack_magnum_auth }}' }}" auth: "{{ '{{ openstack_magnum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}" openstack_magnum_auth: "{{ openstack_magnum_auth }}"
register: trustee_domain register: trustee_domain
@ -53,6 +56,7 @@
domain: "{{ magnum_trustee_domain }}" domain: "{{ magnum_trustee_domain }}"
password: "{{ magnum_keystone_password }}" password: "{{ magnum_keystone_password }}"
auth: "{{ '{{ openstack_magnum_auth }}' }}" auth: "{{ '{{ openstack_magnum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}" openstack_magnum_auth: "{{ openstack_magnum_auth }}"
run_once: True run_once: True
@ -65,6 +69,7 @@
user: "{{ magnum_trustee_domain_admin }}" user: "{{ magnum_trustee_domain_admin }}"
role: "admin" role: "admin"
auth: "{{ '{{ openstack_magnum_auth }}' }}" auth: "{{ '{{ openstack_magnum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_magnum_auth: "{{ openstack_magnum_auth }}" openstack_magnum_auth: "{{ openstack_magnum_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_manila_auth }}' }}" auth: "{{ '{{ openstack_manila_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_manila_auth: "{{ openstack_manila_auth }}" openstack_manila_auth: "{{ openstack_manila_auth }}"
run_once: True run_once: True
@ -32,6 +33,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_manila_auth }}' }}" auth: "{{ '{{ openstack_manila_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_manila_auth: "{{ openstack_manila_auth }}" openstack_manila_auth: "{{ openstack_manila_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_mistral_auth }}' }}" auth: "{{ '{{ openstack_mistral_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_mistral_auth: "{{ openstack_mistral_auth }}" openstack_mistral_auth: "{{ openstack_mistral_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_mistral_auth }}' }}" auth: "{{ '{{ openstack_mistral_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_mistral_auth: "{{ openstack_mistral_auth }}" openstack_mistral_auth: "{{ openstack_mistral_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_murano_auth }}' }}" auth: "{{ '{{ openstack_murano_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_murano_auth: "{{ openstack_murano_auth }}" openstack_murano_auth: "{{ openstack_murano_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_murano_auth }}' }}" auth: "{{ '{{ openstack_murano_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_murano_auth: "{{ openstack_murano_auth }}" openstack_murano_auth: "{{ openstack_murano_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_neutron_auth }}' }}" auth: "{{ '{{ openstack_neutron_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_neutron_auth: "{{ openstack_neutron_auth }}" openstack_neutron_auth: "{{ openstack_neutron_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_neutron_auth }}' }}" auth: "{{ '{{ openstack_neutron_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_neutron_auth: "{{ openstack_neutron_auth }}" openstack_neutron_auth: "{{ openstack_neutron_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_nova_auth }}' }}" auth: "{{ '{{ openstack_nova_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_nova_auth: "{{ openstack_nova_auth }}" openstack_nova_auth: "{{ openstack_nova_auth }}"
run_once: True run_once: True
@ -36,6 +37,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_nova_auth }}' }}" auth: "{{ '{{ openstack_nova_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_nova_auth: "{{ openstack_nova_auth }}" openstack_nova_auth: "{{ openstack_nova_auth }}"
run_once: True run_once: True
@ -50,6 +52,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_placement_auth }}' }}" auth: "{{ '{{ openstack_placement_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_placement_auth: "{{ openstack_placement_auth }}" openstack_placement_auth: "{{ openstack_placement_auth }}"
register: placement_user register: placement_user

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_octavia_auth }}' }}" auth: "{{ '{{ openstack_octavia_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_octavia_auth: "{{ openstack_octavia_auth }}" openstack_octavia_auth: "{{ openstack_octavia_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_octavia_auth }}' }}" auth: "{{ '{{ openstack_octavia_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_octavia_auth: "{{ openstack_octavia_auth }}" openstack_octavia_auth: "{{ openstack_octavia_auth }}"
run_once: True run_once: True
@ -41,6 +43,7 @@
role: admin role: admin
project: admin project: admin
auth: "{{ '{{ openstack_octavia_auth }}' }}" auth: "{{ '{{ openstack_octavia_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_octavia_auth: "{{ openstack_octavia_auth }}" openstack_octavia_auth: "{{ openstack_octavia_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_panko_auth }}' }}" auth: "{{ '{{ openstack_panko_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_panko_auth: "{{ openstack_panko_auth }}" openstack_panko_auth: "{{ openstack_panko_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_panko_auth }}' }}" auth: "{{ '{{ openstack_panko_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_panko_auth: "{{ openstack_panko_auth }}" openstack_panko_auth: "{{ openstack_panko_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_sahara_auth }}' }}" auth: "{{ '{{ openstack_sahara_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_sahara_auth: "{{ openstack_sahara_auth }}" openstack_sahara_auth: "{{ openstack_sahara_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_sahara_auth }}' }}" auth: "{{ '{{ openstack_sahara_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_sahara_auth: "{{ openstack_sahara_auth }}" openstack_sahara_auth: "{{ openstack_sahara_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_searchlight_auth }}' }}" auth: "{{ '{{ openstack_searchlight_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_searchlight_auth: "{{ openstack_searchlight_auth }}" openstack_searchlight_auth: "{{ openstack_searchlight_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_searchlight_auth }}' }}" auth: "{{ '{{ openstack_searchlight_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_searchlight_auth: "{{ openstack_searchlight_auth }}" openstack_searchlight_auth: "{{ openstack_searchlight_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_senlin_auth }}' }}" auth: "{{ '{{ openstack_senlin_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_senlin_auth: "{{ openstack_senlin_auth }}" openstack_senlin_auth: "{{ openstack_senlin_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_senlin_auth }}' }}" auth: "{{ '{{ openstack_senlin_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_senlin_auth: "{{ openstack_senlin_auth }}" openstack_senlin_auth: "{{ openstack_senlin_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_solum_auth }}' }}" auth: "{{ '{{ openstack_solum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_solum_auth: "{{ openstack_solum_auth }}" openstack_solum_auth: "{{ openstack_solum_auth }}"
run_once: True run_once: True
@ -31,6 +32,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_solum_auth }}' }}" auth: "{{ '{{ openstack_solum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_solum_auth: "{{ openstack_solum_auth }}" openstack_solum_auth: "{{ openstack_solum_auth }}"
run_once: True run_once: True
@ -49,6 +51,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_solum_auth }}' }}" auth: "{{ '{{ openstack_solum_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_solum_auth: "{{ openstack_solum_auth }}" openstack_solum_auth: "{{ openstack_solum_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_swift_auth }}' }}" auth: "{{ '{{ openstack_swift_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}" openstack_swift_auth: "{{ openstack_swift_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "{{ swift_admin_tenant_name }}" role: "{{ swift_admin_tenant_name }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_swift_auth }}' }}" auth: "{{ '{{ openstack_swift_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}" openstack_swift_auth: "{{ openstack_swift_auth }}"
run_once: True run_once: True
@ -40,6 +42,7 @@
name: "ResellerAdmin" name: "ResellerAdmin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_swift_auth }}' }}" auth: "{{ '{{ openstack_swift_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_swift_auth: "{{ openstack_swift_auth }}" openstack_swift_auth: "{{ openstack_swift_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_tacker_auth }}' }}" auth: "{{ '{{ openstack_tacker_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_tacker_auth: "{{ openstack_tacker_auth }}" openstack_tacker_auth: "{{ openstack_tacker_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_tacker_auth }}' }}" auth: "{{ '{{ openstack_tacker_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_tacker_auth: "{{ openstack_tacker_auth }}" openstack_tacker_auth: "{{ openstack_tacker_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_trove_auth }}' }}" auth: "{{ '{{ openstack_trove_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_trove_auth: "{{ openstack_trove_auth }}" openstack_trove_auth: "{{ openstack_trove_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_trove_auth }}' }}" auth: "{{ '{{ openstack_trove_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_trove_auth: "{{ openstack_trove_auth }}" openstack_trove_auth: "{{ openstack_trove_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_watcher_auth }}' }}" auth: "{{ '{{ openstack_watcher_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_watcher_auth: "{{ openstack_watcher_auth }}" openstack_watcher_auth: "{{ openstack_watcher_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_watcher_auth }}' }}" auth: "{{ '{{ openstack_watcher_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_watcher_auth: "{{ openstack_watcher_auth }}" openstack_watcher_auth: "{{ openstack_watcher_auth }}"
run_once: True run_once: True

View File

@ -11,6 +11,7 @@
interface: "{{ item.interface }}" interface: "{{ item.interface }}"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_zun_auth }}' }}" auth: "{{ '{{ openstack_zun_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_zun_auth: "{{ openstack_zun_auth }}" openstack_zun_auth: "{{ openstack_zun_auth }}"
run_once: True run_once: True
@ -29,6 +30,7 @@
role: "admin" role: "admin"
region_name: "{{ openstack_region_name }}" region_name: "{{ openstack_region_name }}"
auth: "{{ '{{ openstack_zun_auth }}' }}" auth: "{{ '{{ openstack_zun_auth }}' }}"
endpoint_type: "{{ openstack_interface }}"
module_extra_vars: module_extra_vars:
openstack_zun_auth: "{{ openstack_zun_auth }}" openstack_zun_auth: "{{ openstack_zun_auth }}"
run_once: True run_once: True