16 lines
645 B
YAML
16 lines
645 B
YAML
---
|
|
|
|
- name: APT_KEY | Install Percona key
|
|
apt_key: keyserver="keyserver.ubuntu.com" id="8507EFA5" state=present
|
|
|
|
- name: TEMPLATE | Deploy APT pinning (prevent upgrades from Debian)
|
|
template: src=etc/apt/preferences.d/95-percona.j2 dest=/etc/apt/preferences.d/95-percona
|
|
|
|
- name: APT_REPOSITORY | Add Percona repository
|
|
apt_repository: repo='deb {{ mysql_percona_repository }} {{ ansible_distribution_release }} main' state=present
|
|
|
|
- name: APT_RESPOSITORY | Add Percona (src) repository
|
|
apt_repository: repo='deb-src {{ mysql_percona_repository }} {{ ansible_distribution_release }} main' state=present
|
|
when: mysql_upstream_apt_src
|
|
|