https://github.com/systemli/ansible-role-mariadb
Ansible role to setup MariaDB on Debian
https://github.com/systemli/ansible-role-mariadb
Last synced: over 1 year ago
JSON representation
Ansible role to setup MariaDB on Debian
- Host: GitHub
- URL: https://github.com/systemli/ansible-role-mariadb
- Owner: systemli
- License: gpl-3.0
- Created: 2019-10-15T13:26:47.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-02-10T08:20:31.000Z (over 1 year ago)
- Last Synced: 2025-02-10T09:26:57.358Z (over 1 year ago)
- Language: Jinja
- Size: 114 KB
- Stars: 3
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ansible role to install and configure MariaDB on Debian systems
[](https://github.com/systemli/ansible-role-mariadb/actions?query=workflow%3AIntegration)
[](https://galaxy.ansible.com/systemli/mariadb/)
The role installs and configures the MariaDB server on a Debian system.
* Installs `automysqlbackup` per default
* Sets `innodb_buffer_pool_instances` to number of vCPUs
* Sets `innodb_buffer_pool_size` to (total memory / 2)
The role is tested on Debian 9-11.
## Variables and their defaults
See `defaults/main.yml`.
## Installation
Using ansible galaxy cli:
```bash
ansible-galaxy install systemli.mariadb
```
Using ansible galaxy requirements file:
```yaml
- src: systemli.mariadb
```
## Testing & Development
For developing and testing the role we use Github Actions, Molecule, and Vagrant. On the local environment you can easily test the role with
```
molecule test
```
Requires Molecule, Vagrant and `python-vagrant` to be installed.
# License
This Ansible role is licensed under the GNU GPLv3 or later.
# Author
[https://www.systemli.org](https://www.systemli.org)