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 ## 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 ```YAML
mysqld: mysqld:
bind_address: 0.0.0.0 bind_address: 0.0.0.0
@ -15,11 +16,10 @@ mysqld:
... ...
``` ```
There are additional variables to configure automysqlbackup: ## Backup
| Varibles | Defaults | Notes | 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.
| `automysqlbackup_backupdir` | `/var/lib/automysqlbackup` | Directory to save backups | Just lowercase it. Note: You have to use _true_ and _yes_ as boolean values and you need to quote them.
| `automysqlbackup_dbhost` | `localhost` | Database host |
| `automysqlbackup_mailaddr` | `root` | Mail address to send reports to | Have a look at `defaults/main.yml` for our defaults.
| `automysqlbackup_postbackup` | `/usr/local/bin/automysqlbackup_post_script` | Complete path to a post backup script |