Set up a percona-server server in Debian-like systems.
There are few roles already, however this one is simple, really simple no extra bullshit.
python-mysqldb
(auto-installed)
percona_server_version
: [default:5.7
]: Version to installpercona_server_root_password
: [default: undefined]: Root password (required)percona_server_databases
: [default: empty]: List of databases (mysql_db list)percona_server_users
: [default: empty]: List of users (mysql_user list)percona_server_config
: [default: empty]: Configuration dictionary (mysqld section of my.cnf)
None
- hosts: servers
vars:
percona_server_root_password: mysql_root_pass
percona_server_databases:
- { name: database1 }
percona_server_users:
- { name: user1, password: sapun, priv: "database1.*:ALL" }
percona_server_config:
bind-address: "0.0.0.0"
performance_schema: "off"
roles:
- dincho.percona-server
MIT