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

17 lines
390 B
YAML
Raw Normal View History

---
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
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
2019-08-07 22:41:45 +07:00
- name: APT | Update cache
apt:
update_cache: yes
when: p.changed