Auto install percona apt repos if needed

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

No files matched your search

+6
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'