-
Download the VagrantFile.
-
$Vagrant up
-
Download project https://github.com/marandalucas/ansible-cluster-percona-centos7
-
Use the next commandline:
$ansible-playbook database.yml -i enviro/lab/hosts --tags installation
$ansible-playbook database.yml -i enviro/lab/hosts --tags configuration
You can see more in: https://www.howtoforge.com/tutorial/how-to-install-percona-xtradb-cluster-on-centos-7/