ansible-mysql/defaults/main.yml

40 lines
1.0 KiB
YAML
Raw Normal View History

2015-07-12 15:42:46 +07:00
---
# -------------------------------------
# Setup
# -------------------------------------
2015-07-16 15:56:28 +07:00
mysql_origin: 'upstream'
2015-07-13 17:32:49 +07:00
mysql_vendor: 'mariadb'
2015-07-12 15:42:46 +07:00
mysql_root_password: 'change_me_NOW'
# -------------------------------------
# Configuration
# -------------------------------------
mysql_cnf:
- group_name: 'mysqld'
conf:
- key: 'innodb_file_per_table'
value: 1
- key: 'innodb_buffer_pool_size' # 60% available RAM :)
value: '{{ (ansible_memtotal_mb * 0.6) | round | int }}M'
# -------------------------------------
# Database / Users
# -------------------------------------
mysql_databases: []
mysql_users: []
# -------------------------------------
# MariaDB
# -------------------------------------
mariadb_version: '10.0' # (5.5, 10.0)
2015-07-12 15:42:46 +07:00
# See: http://mariadb.org/mariadb/repositories/
2015-07-13 17:32:49 +07:00
mariadb_repository: "http://ftp.igh.cnrs.fr/pub/mariadb/repo/{{ mariadb_version }}/debian"
2015-07-12 15:42:46 +07:00
# -------------------------------------
# Percona
# -------------------------------------
percona_version: '5.6'
percona_repository: 'http://repo.percona.com/apt'