openstack-ansible/playbooks/roles/galera_client
kevin 59381b51ff Added apt update tasks to everything using apt
This change adds a specific update task to all tasks that all the
apt ansible module. This change was done to ensure that the cache
is updated as expected when instructed to do so. The reason that
the cache update is being removed from the grouping is because
there is an upstream bug that is effecting the process by which
the apt cache is updated when there is a package list to process
within the same task. The work around to make this function as
expected is to move the update into its own task without a package
list.

Upstream Ansible bug:
  - https://github.com/ansible/ansible-modules-core/issues/1497

Change-Id: Ic06d89a76d772c12888b4bc4bbf147be58b0c150
Related-Bug: 1464771
2015-06-16 13:13:58 -05:00
..
defaults Change external resources to https where possible 2015-06-01 09:44:20 -05:00
meta Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
tasks Added apt update tasks to everything using apt 2015-06-16 13:13:58 -05:00
templates Add release pinning to galera roles 2015-04-23 10:32:35 +01:00
CONTRIBUTING.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
LICENSE Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00
README.rst Convert existing roles into galaxy roles 2015-02-18 10:56:25 +00:00

OpenStack Galera Client

tags

openstack, galera, client, cloud, ansible

category

*nix

Role for the installation of the mariadb and xtrabackup clients used to interact with and manage a galera cluster.

Example Ansible play

- name: Install galera server
  hosts: galera_all
  user: root
  roles:
    - { role: "galera_server", tags: [ "galera-server" ] }
  vars:
    galera_address: "10.0.0.1"
    galera_root_password: secrete
    galera_root_user: root