Install Ansible Role for MySQL-Server 5.7 Community Edition
- hosts: databases
roles:
- mysql-server
vars:
database_name: master
mysql_server_bind_address: "{{ ansible_eth1.ipv4.address }}"
mysql_server_root_password: <some-password>
mysql_server_databases:
- name: "{{ database_name }}"
encoding: latin1
collation: latin1_general_ci
mysql_server_users:
- name: webdev
host: "%"
password: <some-password>
priv: "master.*:ALL"
- Debian - 6 - Squeeze
- Debian - 7 - Wheezy
- Debian - 8 - Jessie
- Debian - 9 - Stretch
- RHEL - 7.6 - Maipo
- CentOS - 7.2
- CentOS - 7.6
- @mentions, #refs, links, formatting, and
tagssupported - list syntax required (any unordered or ordered list supported)
- this is a complete item
- this is an incomplete item