Ansible – Установка percona cluster
Вот сам плейбук. – hosts: 10.1.9.53 vars: MySQL_root_pass: вашпарольдляmysql tasks: – name: Set MySQL root password before installing debconf: name=’mysql-server’ question=’mysql-server/root_password’ value='{{MySQL_root_pass | quote}}’ vtype=’password’ – name: Confirm MySQL root password before installing debconf: name=’mysql-server’ question=’mysql-server/root_password_again’ value='{{MySQL_root_pass | quote}}’ vtype=’password’ – name: Add Percona apt signing key apt_key: keyserver=keys.gnupg.net id=1C4CBDCDCD2EFD2A state=present – name: Add Percona […]