mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
65 lines
770 B
Markdown
65 lines
770 B
Markdown
|
# Ansible Role: MariaDB
|
||
|
|
||
|
Installs MariaDB
|
||
|
|
||
|
## Supported platforms
|
||
|
|
||
|
```
|
||
|
CentOS 6 & 7
|
||
|
Ubuntu 14.04
|
||
|
```
|
||
|
|
||
|
## Post install
|
||
|
|
||
|
Run `mysql_secure_installation`
|
||
|
|
||
|
## Requirements
|
||
|
|
||
|
None
|
||
|
|
||
|
## Role Variables
|
||
|
|
||
|
MariaDB version:
|
||
|
|
||
|
```
|
||
|
mariadb_version: 10.0
|
||
|
```
|
||
|
|
||
|
Configuration template:
|
||
|
|
||
|
```
|
||
|
mysql_conf_tpl: change_me
|
||
|
```
|
||
|
|
||
|
Configuration filename:
|
||
|
|
||
|
```
|
||
|
mysql_conf_file: settings.cnf
|
||
|
```
|
||
|
|
||
|
### Experimental unattended mysql_secure_installation
|
||
|
|
||
|
```
|
||
|
ansible-playbook release.yml --extra-vars "mysql_secure_installation=true mysql_root_password=your_very_secret_password"
|
||
|
```
|
||
|
|
||
|
## Dependencies
|
||
|
|
||
|
None
|
||
|
|
||
|
## Example Playbook
|
||
|
|
||
|
```
|
||
|
- hosts: servers
|
||
|
roles:
|
||
|
- { role: pcextreme.mariadb }
|
||
|
```
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT / BSD
|
||
|
|
||
|
## Author Information
|
||
|
|
||
|
Created by [Attila van der Velde](https://github.com/vdvm)
|