Go to file
2023-05-08 21:13:26 +02:00
defaults Add variables to configure automysqlbackup 2023-03-10 20:20:51 +01: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 Add variables to configure automysqlbackup 2023-03-10 20:20:51 +01:00
templates Test only socket connection 2023-05-08 21:13:26 +02:00
README.md Add variables to configure automysqlbackup 2023-03-10 20:20:51 +01:00

MariaDB

This role installs MariaDB, including:

  • Monitoring with Monit and Munin
  • Backups with automysqlbackup

No configuration of the database server will take place.

Variables

You can use the following variables to adopt the role to your needs. Place them in a dictionary called mariadb:

Varible Value Notes
bind_address string Address to bind the MariaDB server to

Ecample:

mariadb:
  bind_address: "10.0.0.2"

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