2015-08-21 16:24:37 +07:00
|
|
|
---
|
|
|
|
|
|
|
|
- name: APT_KEY | Install Percona key
|
2018-03-18 00:28:56 +07:00
|
|
|
apt_key:
|
|
|
|
keyserver: "keyserver.ubuntu.com"
|
|
|
|
id: "8507EFA5"
|
2015-08-21 16:24:37 +07:00
|
|
|
|
|
|
|
- name: TEMPLATE | Deploy APT pinning (prevent upgrades from Debian)
|
2018-03-18 00:28:56 +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
|
2018-03-18 00:28:56 +07:00
|
|
|
apt_repository:
|
|
|
|
repo: 'deb {{ mariadb_percona_repository }} {{ ansible_distribution_release }} main'
|
2015-08-21 16:24:37 +07:00
|
|
|
|
|
|
|
- name: APT_RESPOSITORY | Add Percona (src) repository
|
2018-03-18 00:28:56 +07:00
|
|
|
apt_repository:
|
|
|
|
repo: 'deb-src {{ mariadb_percona_repository }} {{ ansible_distribution_release }} main'
|
2018-03-17 23:28:54 +07:00
|
|
|
when: mariadb_upstream_apt_src
|