2015-07-12 16:50:23 +07:00
|
|
|
---
|
|
|
|
|
2015-08-21 16:24:37 +07:00
|
|
|
- name: INCLUDE | Add percona APT repository
|
|
|
|
include: apt.yml
|
|
|
|
|
2015-07-13 17:32:49 +07:00
|
|
|
- name: DEBCONF | Prepare MySQL silent installation (root password)
|
2017-06-01 20:33:09 +07:00
|
|
|
debconf: name='percona-server-server-{{ mysql_percona_version }}' question='percona-server-server/root_password' vtype='password' value='{{ mysql_root_password }}'
|
2015-07-12 16:50:23 +07:00
|
|
|
when: not mysql_exists.stat.exists
|
|
|
|
|
2015-07-13 17:32:49 +07:00
|
|
|
- name: DEBCONF | Prepare MySQL silent installation (root password)
|
2017-06-01 20:33:09 +07:00
|
|
|
debconf: name='percona-server-server-{{ mysql_percona_version }}' question='percona-server-server/root_password_again' vtype='password' value='{{ mysql_root_password }}'
|
2015-07-12 16:50:23 +07:00
|
|
|
when: not mysql_exists.stat.exists
|
|
|
|
|
|
|
|
- name: APT | Install Percona
|
2017-06-01 20:33:09 +07:00
|
|
|
apt: update_cache=yes cache_valid_time=3600 pkg='percona-server-server-{{ mysql_percona_version }}' state=present
|
2015-07-12 16:50:23 +07:00
|
|
|
|