--- # Copyright 2014, 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. repo_package_name: galera # The package name for mariaDB is set as a variable # so that it can be used in debconf later in the # "galera_common" role. mariadb_server_package: "mariadb-galera-server-5.5" # 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 - python-software-properties - software-properties-common - debconf-utils - rsync - xtrabackup service_pip_dependencies: - MySQL-python # When installing container packages this bol will drop a # run level policy to ensure that no services are started # upon installation. run_policy_deny: true debconf_items: - question: "mysql-server/root_password" name: "{{ mariadb_server_package }}" value: "{{ mysql_password }}" vtype: "string" - question: "mysql-server/root_password_again" name: "{{ mariadb_server_package }}" value: "{{ mysql_password }}" vtype: "string"