2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

MariaDB 10.2 (#510)

MariaDB 10.2 Support
This commit is contained in:
James Robertson 2018-01-08 23:38:18 -06:00 committed by Rushabh Mehta
parent 76aff28e40
commit 56e2f75599
4 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,5 @@
--- ---
mariadb_version: 10.0 mariadb_version: 10.2
mysql_conf_tpl: change_me mysql_conf_tpl: change_me
mysql_conf_file: settings.cnf mysql_conf_file: settings.cnf

View File

@ -9,7 +9,12 @@
- name: Add apt repository - name: Add apt repository
apt_repository: apt_repository:
repo: 'deb [arch=amd64,i386] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.1/debian {{ ansible_distribution_release }} main' repo: 'deb [arch=amd64,i386] http://ams2.mirrors.digitalocean.com/mariadb/repo/{{ mariadb_version }}/debian {{ ansible_distribution_release }} main'
state: present
- name: Add apt repository
apt_repository:
repo: 'deb-src [arch=amd64,i386] http://ams2.mirrors.digitalocean.com/mariadb/repo/{{ mariadb_version }}/debian {{ ansible_distribution_release }} main'
state: present state: present
- name: Unattended package installation - name: Unattended package installation

View File

@ -1,4 +1,4 @@
# MariaDB CentOS {{ ansible_distribution_major_version|int }} repository list # MariaDB {{ mariadb_version }} CentOS {{ ansible_distribution_major_version|int }} repository list
# http://mariadb.org/mariadb/repositories/ # http://mariadb.org/mariadb/repositories/
[mariadb] [mariadb]
name = MariaDB name = MariaDB

View File

@ -1,4 +1,4 @@
# MariaDB Ubuntu {{ ansible_distribution_release | title }} repository list # MariaDB {{ mariadb_version }} Ubuntu {{ ansible_distribution_release | title }} repository list
# http://mariadb.org/mariadb/repositories/ # http://mariadb.org/mariadb/repositories/
deb http://ams2.mirrors.digitalocean.com/mariadb/repo/{{ mariadb_version }}/ubuntu {{ ansible_distribution_release | lower }} main deb http://ams2.mirrors.digitalocean.com/mariadb/repo/{{ mariadb_version }}/ubuntu {{ ansible_distribution_release | lower }} main
deb-src http://ams2.mirrors.digitalocean.com/mariadb/repo/{{ mariadb_version }}/ubuntu {{ ansible_distribution_release | lower }} main deb-src http://ams2.mirrors.digitalocean.com/mariadb/repo/{{ mariadb_version }}/ubuntu {{ ansible_distribution_release | lower }} main