Update Readme

This commit is contained in:
phil 2023-11-04 12:38:21 +01:00
parent 366f58acd8
commit 7ae4c2572e

View file

@ -7,7 +7,8 @@ This role installs MariaDB, including:
## Configuration
Create a dictionary called `mysqld` and define your settings:
Create a dictionary called `mysqld` and define your settings.
You can use all upstream configuration items:
```YAML
mysqld:
bind_address: 0.0.0.0
@ -15,11 +16,10 @@ mysqld:
...
```
There are additional variables to configure automysqlbackup:
## Backup
| 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 |
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.