No description
Find a file
2023-10-14 10:43:06 +02:00
.vscode Fix typos 2023-08-14 12:31:32 +02:00
defaults Configure MariDB server via this role 2023-10-14 10:43:06 +02:00
files Konfiguriere Backup 2021-05-26 07:36:55 +02:00
handlers mariadb: Aktiviere slowlog in der globalen Konfigurationsdatei 2022-06-09 13:38:00 +02:00
meta Update role information 2023-02-07 20:46:43 +01:00
tasks Fix typos 2023-08-14 12:31:32 +02:00
templates Configure MariDB server via this role 2023-10-14 10:43:06 +02:00
README.md Configure MariDB server via this role 2023-10-14 10:43:06 +02:00

MariaDB

This role installs MariaDB, including:

  • Monitoring with Monit and Munin
  • Backups with automysqlbackup

Configuration

Create a dictionary called mysqld and define your settings:

mysqld:
  bind_address: 0.0.0.0
  slow_query_log: 1
  ...

There are additional variables to configure automysqlbackup:

Varibles Defaults Notes
automysqlbackup_backupdir /var/lib/automysqlbackup Directory to save backups
automysqlbackup_dbhost localhost Database host
automysqlbackup_mailaddr root Mail address to send reports to
automysqlbackup_postbackup /usr/local/bin/automysqlbackup_post_script Complete path to a post backup script