Auto install percona apt repos if needed

This commit is contained in:
Emilien Mantel
2017-06-01 15:56:08 +02:00
parent 25fa21021d
commit 0f1d2bcdcf
4 changed files with 9 additions and 1 deletions

View File

@@ -11,6 +11,12 @@
(mysql_origin == 'upstream' and mysql_vendor == 'percona')
)
- name: INCLUDE | Use Percona repository
include: 'percona/apt.yml'
when: >
mysql_use_percona_apt and
not (mysql_origin == 'upstream' and mysql_vendor == 'percona')
- name: INCLUDE | Install MySQL from default repo
include: 'mysql/default.yml'
when: mysql_origin == 'default' and mysql_vendor == 'mysql'