OpenStack-Ansible Galera client

This Ansible role installs the MariaDB operating system and Python packages used to interact with and manage a Galera cluster.

Default variables

# Default galera connection address
galera_root_user: root

## APT Cache Options
cache_timeout: 600

# Set the package install state for distribution packages
# Options are 'present' and 'latest'
galera_client_package_state: "latest"

galera_client_drop_config_file: false

galera_client_distro_package_pins: []

  - MySQL-python

galera_client_fatal_deprecations: false

## Tunable overrides
galera_client_my_cnf_overrides: {}

Required variables

To use this role, define the following variables:

galera_root_password: secrete


This role depends on the config_template Ansible module provided by OpenStack-Ansible Plugins.

Example playbook

- name: Install Galera client
  hosts: all
  user: root
    - role: "openstack-ansible-galera_client"
  galera_address: ""
  galera_root_password: secrete
  galera_root_user: root
  galera_client_drop_config_file: true

Table Of Contents

Project Source

This Page