6nsh.mysql_server
Ansible Role for MySQL Community Server 8.0
This role helps you install and set up MySQL Community Server 8.0 on Debian (buster/bullseye).
Requirements
You need Ansible version 2.9 or higher to use this role.
Role Variables
Here are the variables you can use with this role and a simple explanation for each:
mysql_root_password: Aver@gEStr0ngPaSSw0rd
mysql_data_dir: /path/to/mysql/data
mysql_bind_address: 10.0.0.1
- The
mysql_data_dir
andmysql_bind_address
variables are optional. - If you don't provide these optional variables, they will use the default values:
mysql_data_dir: /var/lib/mysql
mysql_bind_address: 127.0.0.1
Dependencies
This role has no dependencies.
Example Playbook
Here's an example of how to use this role with parameters:
- hosts: servers
roles:
- { role: 6nsh.mysql_server, tags: mysql_server }
License
MIT
Author Information
This role was created by Artem Kasianchuk.