No description
Find a file
2023-11-04 12:53:09 +01:00
.vscode Fix typos 2023-08-14 12:31:32 +02:00
defaults automysqlbackup configuration via dict 2023-11-04 12:22:33 +01:00
files Ensure database server is running via systemd 2023-11-04 11:01:07 +01:00
handlers automysqlbackup configuration via dict 2023-11-04 12:22:33 +01:00
meta Update role information 2023-02-07 20:46:43 +01:00
tasks automysqlbackup configuration via dict 2023-11-04 12:22:33 +01:00
templates Fixes 2023-11-04 12:53:09 +01:00
README.md Update Readme 2023-11-04 12:38:21 +01: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. You can use all upstream configuration items:

mysqld:
  bind_address: 0.0.0.0
  slow_query_log: 1
  ...

Backup

For daily backups we use automysqlbackup. You can configure it via the dict automysqlbackup_config. You can use every upstream configuration item in this dict. Just lowercase it. Note: You have to use true and yes as boolean values and you need to quote them.

Have a look at defaults/main.yml for our defaults.