ansible-mysql/tasks/install/percona/apt.yml

17 lines
390 B
YAML

---
- name: APT | Install Percona repository
apt:
deb: https://repo.percona.com/apt/percona-release_latest.generic_all.deb
- name: COMMAND | Enable percona tools repository
command: percona-release enable tools release
args:
creates: /etc/apt/sources.list.d/percona-tools-release.list
register: p
- name: APT | Update cache
apt:
update_cache: yes
when: p.changed