Go to file
phil 8566011e51 Change default shell
source is a bash command
2024-04-15 09:26:23 +02:00
.vscode Fix typos 2023-08-14 12:31:32 +02:00
defaults Add some recommended performance settings 2023-11-19 13:55:33 +01:00
files Change default shell 2024-04-15 09:26:23 +02: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 Fix paths 2024-01-21 01:23:58 +01:00
templates fix typo 2024-04-14 00:22:16 +02:00
README.md Enable configuration of Systemd service 2024-01-21 01:13:24 +01:00


This role installs MariaDB, including:

  • Monitoring with Monit and Munin
  • Backups with automysqlbackup


Create a dictionary called mysqld and define your settings. You can use all upstream configuration items:

  slow_query_log: 1

Changes to the Systemd service

Use the following options to configure your MariaDB service:

  limitnofile: 64184
  restart: on-failure


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.