886fe01edb
As both Ubuntu and the MariaDB repositories carry packages with the same names, apt package pinning is required to ensure that the packages we install come from the right repository. This patch adds a pinning preference file to ensure that the packages we install come from the MariaDB repository. Due to the OpenStack CI images having conflicting packages installed in the base image, this patch also includes the removal of these packages during the AIO bootstrap to ensure that the deployment succeeds. For environments where the same two packages are installed on the hosts prior to the deployment of os-ansible-deployment, they would need to ensure that the packages are removed first. This has been seen in environments where monitoring tooling has installed the packages as a dependancy. Closes-Bug: #1446772 Change-Id: I5ad0b9010e49832c4f866c0b141e1c035d5f9268 |
||
---|---|---|
.. | ||
defaults | ||
files | ||
meta | ||
tasks | ||
templates | ||
CONTRIBUTING.rst | ||
LICENSE | ||
README.rst |
OpenStack Galera Server
- tags
-
openstack, galera, server, cloud, ansible
- category
-
*nix
Role for the installation and installation of 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_wsrep_address: "10.0.0.1,10.0.0.2,10.0.0.3"
galera_wsrep_node_name: "{{ ansible_hostname }}"
galera_wsrep_cluster_address: "{{ container_address }}"
galera_address: "{{ container_address }}"
galera_root_password: secrete
galera_root_user: root