dubzland.openstack.openstack_component role – Performs common database, service, and endpoint creation for OpenStack services.

Note

This role is part of the dubzland.openstack collection (version 1.1.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install dubzland.openstack.

To use it in a playbook, specify: dubzland.openstack.openstack_component.

Entry point main – Performs common database, service, and endpoint creation for OpenStack services.

Synopsis

  • Creates databases and configures users

  • Creates OpenStack services and associated users

  • Creates OpenStack endpoints within OpenStack Keystone

Parameters

Parameter

Comments

openstack_component_database_password

string / required

Password to assign to the openstack_component_database_user.

openstack_component_database_user

string / required

MySQL database user this component will use for communication.

openstack_component_databases

list / elements=string / required

Database(s) that should be provisioned for this compoment.

openstack_component_password

string / required

Password to assign to the openstack_component_user.

openstack_component_services

list / elements=dictionary / required

List of OpenStack Keystone services to be created.

description

string / required

Human-readable description associated with this service

endpoints

list / elements=dictionary

List of endpoints to create for the specified OpenStack service.

interface

string / required

Type of OpenStack endpoint being created.

Choices:

  • "public"

  • "internal"

  • "admin"

url

string / required

HTTP url to associate with this endpoint type.

name

string / required

Name to associate with the described service

type

string / required

OpenStack service type ex. volumev3 this service represents.

openstack_component_user

string / required

Username to create in OpenStack Keystone for this component’s services.