ansible-role-mariadb/defaults/main.yml

51 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2019-02-21 21:19:56 +00:00
---
2019-05-18 10:26:37 +00:00
mariadb_use_official_repository: yes
mariadb_branch: 10.3
mariadb_repository: |
deb http://mariadb.mirrors.ovh.net/MariaDB/repo/{{ mariadb_branch }}/debian {{ ansible_distribution_release }} main
mariadb_repository_key_id: '0xF1656F24C74CD1D8'
mariadb_repository_key_server: keyserver.ubuntu.com
2019-02-21 21:19:56 +00:00
mariadb_user: root
mariadb_master: no
mariadb_autorestart: no
mariadb_users: []
mariadb_databases: []
mariadb_config: {}
mariadb_default_config:
client-server: {}
2019-02-21 21:19:56 +00:00
client:
default-character-set: utf8mb4
mysql:
default-character-set: utf8mb4
server: {}
mariadb: {}
mysqld_safe:
socket: /var/run/mysqld/mysqld.sock
nice: 0
skip_log_error: true
syslog: true
mysqld:
user: mysql
pid-file: /var/run/mysqld/mysqld.pid
socket: /var/run/mysqld/mysqld.sock
bind-address: 127.0.0.1
port: 3306
basedir: /usr
datadir: /var/lib/mysql
tmpdir: /tmp
lc-messages-dir: /usr/share/mysql
skip-external-locking: true
key_buffer_size: 16M
max_allowed_packet: 16M
thread_stack: 192K
thread_cache_size: 8
myisam_recover_options: BACKUP
query_cache_limit: 1M
query_cache_size: 16M
log_error: /var/log/mysql/error.log
expire_logs_days: 10
max_binlog_size: 100M
character-set-server: utf8mb4
collation-server: utf8mb4_general_ci
mariadb_full_config: '{{ mariadb_default_config|combine(mariadb_config, recursive=True) }}'