Fix mariadb & galera install order

* We were installing mariadb/galera as part of the galera play to ensure
  we could control the startup and preseed.
* This changes the play back to do this properly, instead of installing
  it as part of the "common" play.
* This leaves the packages to be installed in the common repo_packages
  file

Fixes-Bug: #222
This commit is contained in:
Andy McCrae 2014-10-02 14:27:13 +01:00
parent a19f90d820
commit 531a51f14b
2 changed files with 4 additions and 13 deletions

View File

@ -20,18 +20,6 @@ container_lvm_fssize: 5GB
debian_sys_maint_password: "{{ mysql_debian_sys_maint_password }}"
mariadb_server_package: mariadb-galera-server-5.5
galera_packages:
- mariadb-client
- "{{ mariadb_server_package }}"
- galera
- python-software-properties
- software-properties-common
- debconf-utils
- rsync
- xtrabackup
# Size of the galera cache
galera_gcache_size: 1G

View File

@ -20,7 +20,10 @@ repo_package_name: galera
# "galera_common" role.
mariadb_server_package: "mariadb-galera-server-5.5"
container_packages:
# NB This is specifically galera_packages as these packages only get installed
# during the galera play - this is because of the preseed task and the service
# startup control used when installing mariadb-galera-server and galera.
galera_packages:
- mariadb-client
- "{{ mariadb_server_package }}"
- galera