ansible-role-mariadb/README.md
2023-03-10 20:20:51 +01:00

31 lines
926 B
Markdown

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:
```YAML
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 |