2015-08-21 16:24:37 +07:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: APT_KEY | Install Percona key
|
2016-11-09 23:50:15 +07:00
|
|
|
apt_key: keyserver="keyserver.ubuntu.com" id="8507EFA5" state=present
|
2015-08-21 16:24:37 +07:00
|
|
|
|
|
|
|
- name: TEMPLATE | Deploy APT pinning (prevent upgrades from Debian)
|
2016-02-09 23:32:55 +07:00
|
|
|
template: src=etc/apt/preferences.d/95-percona.j2 dest=/etc/apt/preferences.d/95-percona
|
2015-08-21 16:24:37 +07:00
|
|
|
|
|
|
|
- name: APT_REPOSITORY | Add Percona repository
|
|
|
|
apt_repository: repo='deb {{ percona_repository }} {{ ansible_distribution_release }} main' state=present
|
|
|
|
|
|
|
|
- name: APT_RESPOSITORY | Add Percona (src) repository
|
|
|
|
apt_repository: repo='deb-src {{ percona_repository }} {{ ansible_distribution_release }} main' state=present
|
2016-09-27 21:26:55 +07:00
|
|
|
when: mysql_upstream_apt_src
|
2015-08-21 16:24:37 +07:00
|
|
|
|