No description
|
||
---|---|---|
.vscode | ||
defaults | ||
files | ||
handlers | ||
meta | ||
tasks | ||
templates | ||
README.md |
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 |