dubzland.openstack.openstack_keystone role – Install and configure the OpenStack Keystone authentication service

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_keystone.

Entry point main – Install and configure the OpenStack Keystone authentication service

Synopsis

  • Creates the necessary keystone database and user.

  • Installs required operating system packages.

  • Creates the keystone configuration file.

  • Populates the keystone database with initial cluster data.

  • Records custom Ansible facts for utilization by other OpenStack components.

  • Creates the necessary users, services, and endpoints for Keystone in the database.

  • Assumes a MySQL server has been installed on the OpenStack Keystone host and configured according to the OpenStack documentation.

Parameters

Parameter

Comments

openstack_keystone_admin_password

string / required

Password assigned to the openstack_keystone_admin_user user.

openstack_keystone_admin_user

string

Initial administrative user created in the OpenStack Keystone database.

Default: "admin"

openstack_keystone_db_name

string

Name of the MySQL database to be created for OpenStack Keystone.

Default: "keystone"

openstack_keystone_db_password

string / required

Password assigned to the openstack_keystone_db_user for the OpenStack Keystone database.

openstack_keystone_db_user

string

User created on the MySQL server for the OpenStack Keystone service.

Default: "keystone"

openstack_keystone_log_dir

path

Directory on the controller node where OpenStack Keystone logs will be written.

Default: "/var/log/keystone"

openstack_keystone_packages

list / elements=string

List of operating system packages to install for OpenStack Keystone.

Default: ["keystone"]

openstack_keystone_token_provider

string

Token provider configured for OpenStack Keystone. If fernet (the default), the repository will be initialized automatically.

Default: "fernet"