2015-07-12 16:50:23 +07:00
|
|
|
---
|
|
|
|
|
2017-07-03 20:24:01 +07:00
|
|
|
- name: APT_KEY | Install MariaDB key
|
2017-06-29 02:47:20 +07:00
|
|
|
apt_key: keyserver="{{ mysql_mariadb_key_server }}" id={{ item }} state=present
|
|
|
|
with_items: "{{ mysql_mariadb_key_ids }}"
|
2015-07-12 16:50:23 +07:00
|
|
|
|
2017-07-03 20:24:01 +07:00
|
|
|
- name: TEMPLATE | Deploy APT pinning (prevent upgrades from Debian)
|
|
|
|
template: src=etc/apt/preferences.d/95-mariadb.j2 dest=/etc/apt/preferences.d/95-mariadb
|
|
|
|
|
|
|
|
- name: APT_REPOSITORY | Add MariaDB repository
|
2017-06-01 20:33:09 +07:00
|
|
|
apt_repository: repo='deb {{ mysql_mariadb_repository }} {{ ansible_distribution_release }} main' state=present
|
2015-07-12 16:50:23 +07:00
|
|
|
|
2017-07-03 20:24:01 +07:00
|
|
|
- name: APT_REPOSITORY | Add MariaDB (src) repository
|
2017-06-01 20:33:09 +07:00
|
|
|
apt_repository: repo='deb-src {{ mysql_mariadb_repository }} {{ ansible_distribution_release }} main' state=present
|
2016-09-27 21:26:55 +07:00
|
|
|
when: mysql_upstream_apt_src
|
2015-07-12 16:50:23 +07:00
|
|
|
|
2015-07-13 17:32:49 +07:00
|
|
|
- name: INCLUDE | Normal Install
|
2015-08-21 16:24:37 +07:00
|
|
|
include: default.yml
|