Role galera_server for OpenStack-Ansible
Go to file
Jesse Pretorius 7139fd2c60 Change pip install task state to 'latest'
Currently all pip install tasks only require the package to be
present. This means that when an environment undergoes a minor
upgrade the package is not upgraded to the same version that
was tested with. This ultimately results in a deployed
environment that does not match the tested environment.

While for the services installed into venvs this is not an
issue, it does affect those which do not use venvs and any
packages which are installed outside of a venv or on top
of a venv.

This patch changes the behaviour to ensure that the install
task will always use the latest available package. In
developer_mode this will mean using the version specified
in upper-constraints, and in an integrated build this will
mean the version which is available in the wheel repo's
folder for the tag.

Related-Bug: 1596620

Change-Id: I90a044e142829ea90bbc81cdda5a2a257fe8de22
(cherry picked from commit ac3bbca051)
2016-07-09 14:11:32 +00:00
defaults Decrease MariaDB wait timeout 2016-04-19 10:22:08 +00:00
doc Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
files first commit 2015-12-09 09:23:50 -06:00
handlers Fix handlers 2016-04-14 10:10:32 +00:00
library Resolve pep8 violations caught by pep8 v1.7.0 2016-01-13 10:43:59 +00:00
meta Updated role using the Multi-Distro framework 2016-03-21 22:57:11 -05:00
releasenotes Remove Liberty releasenote index 2016-04-20 23:14:12 +00:00
tasks Change pip install task state to 'latest' 2016-07-09 14:11:32 +00:00
templates Use var galera_cluster_members to identify cluster 2016-03-17 09:30:36 +00:00
tests Reorganize test playbooks 2016-06-18 09:56:11 -07:00
vars Updated role using the Multi-Distro framework 2016-03-21 22:57:11 -05:00
.gitignore Add reno scaffolding for release notes management 2016-04-15 17:09:21 +00:00
.gitreview Update .gitreview for stable/mitaka 2016-04-08 16:14:10 +00:00
CONTRIBUTING.rst Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
LICENSE first commit 2015-12-09 09:23:50 -06:00
README.rst Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
other-requirements.txt Add dependencies for paramiko 2.0 2016-05-03 13:56:32 +00:00
run_tests.sh Add dependencies for paramiko 2.0 2016-05-03 13:56:32 +00:00
setup.cfg Doc and configuration for independent repository 2016-03-03 11:56:23 -05:00
setup.py first commit 2015-12-09 09:23:50 -06:00
test-requirements.txt Update tox configuration 2016-07-08 17:09:18 +01:00
tox.ini Update tox configuration 2016-07-08 17:09:18 +01:00

README.rst

OpenStack-Ansible Galera Server

tags

openstack, galera, server, cloud, ansible

category

*nix

Ansible role to install and configure a Galera cluster powered by MariaDB

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