Merge "Add MariaDB 10.3 repository for Ubuntu Bionic"
This commit is contained in:
commit
79cb971251
|
@ -0,0 +1,3 @@
|
||||||
|
- hosts: all
|
||||||
|
roles:
|
||||||
|
- add_mariadb_repo
|
|
@ -0,0 +1,17 @@
|
||||||
|
- name: Add apt key from hkp://keyserver.ubuntu.com:80
|
||||||
|
shell:
|
||||||
|
cmd: apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
|
||||||
|
executable: /bin/bash
|
||||||
|
become: yes
|
||||||
|
when:
|
||||||
|
- ansible_facts['distribution_release'] == "bionic"
|
||||||
|
- ansible_facts['distribution'] == "Ubuntu"
|
||||||
|
|
||||||
|
- name: Add MariaDB 10.3 repository (https://bugs.launchpad.net/neutron/+bug/1855912)
|
||||||
|
apt_repository:
|
||||||
|
repo: deb [arch=amd64,arm64,ppc64el] http://ftp.hosteurope.de/mirror/mariadb.org/repo/10.3/ubuntu bionic main
|
||||||
|
state: present
|
||||||
|
become: yes
|
||||||
|
when:
|
||||||
|
- ansible_facts['distribution_release'] == "bionic"
|
||||||
|
- ansible_facts['distribution'] == "Ubuntu"
|
|
@ -117,6 +117,9 @@
|
||||||
vars:
|
vars:
|
||||||
devstack_localrc:
|
devstack_localrc:
|
||||||
MYSQL_SERVICE_NAME: mariadb
|
MYSQL_SERVICE_NAME: mariadb
|
||||||
|
# NOTE(ralonsoh): once MariaDB default version in Ubuntu is bumped to
|
||||||
|
# >10.1, this workaround can be removed (bug 1855912)
|
||||||
|
pre-run: playbooks/add_mariadb_repo.yaml
|
||||||
irrelevant-files: *irrelevant-files
|
irrelevant-files: *irrelevant-files
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
|
|
Loading…
Reference in New Issue