a0eda70cf8
* The default apt packages have been moved into a var file that is only loaded when the detected OS is matched. * The Install task file has had the apt specific tasks moved into a named install task file. Change-Id: I145f6ea0249d577a99c771704125736f3fccef4f Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
53 lines
1.6 KiB
YAML
53 lines
1.6 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
galera_pre_apt_packages:
|
|
- apt-transport-https
|
|
- debconf-utils
|
|
- libaio1
|
|
- libc6
|
|
- libdbd-mysql-perl
|
|
- libgcc1
|
|
- libgcrypt11
|
|
- libstdc++6
|
|
- python-software-properties
|
|
- software-properties-common
|
|
|
|
# The package name for mariaDB is set as a variable
|
|
# so that it can be used in debconf later in the
|
|
# "galera_common" role.
|
|
galera_mariadb_server_package: "mariadb-galera-server-10.0"
|
|
|
|
# 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_apt_packages:
|
|
- mariadb-client
|
|
- "{{ galera_mariadb_server_package }}"
|
|
- galera-3
|
|
- qpress
|
|
- rsync
|
|
- socat
|
|
|
|
galera_debconf_items:
|
|
- question: "mysql-server/root_password"
|
|
name: "{{ galera_mariadb_server_package }}"
|
|
value: "{{ galera_root_password }}"
|
|
vtype: "string"
|
|
- question: "mysql-server/root_password_again"
|
|
name: "{{ galera_mariadb_server_package }}"
|
|
value: "{{ galera_root_password }}"
|
|
vtype: "string"
|