summaryrefslogtreecommitdiff
path: root/roles/mysql/tasks/percona.yml
blob: b47e1ac432e2519e54821eedf4572c0051aaf292 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
- name: add repository key
  copy:
    src: percona.gpg
    dest: /etc/apt/trusted.gpg.d/mysql.gpg
  notify: update apt cache

- name: add repository entry
  copy:
    content: |
      deb http://repo.percona.com/apt {{ ansible_distribution_release }} main
    dest: /etc/apt/sources.list.d/mysql.list
  notify: update apt cache

- name: update apt cache
  meta: flush_handlers