2015-08-21 16:24:37 +07:00
|
|
|
---
|
|
|
|
|
2019-08-07 22:41:45 +07:00
|
|
|
- name: APT | Install Percona repository
|
|
|
|
apt:
|
|
|
|
deb: https://repo.percona.com/apt/percona-release_latest.generic_all.deb
|
2015-08-21 16:24:37 +07:00
|
|
|
|
2019-08-07 22:41:45 +07:00
|
|
|
- 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
|
2015-08-21 16:24:37 +07:00
|
|
|
|
2019-08-07 22:41:45 +07:00
|
|
|
- name: APT | Update cache
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
|
|
|
when: p.changed
|