parent
2bb7a7c0eb
commit
26b7807430
6 changed files with 20 additions and 15 deletions
@ -0,0 +1,6 @@ |
||||
--- |
||||
|
||||
# If you need newer MariaDB version, define the branch here |
||||
# It'll use the yum repo from mariadb.org |
||||
mysql_mariadb_version: default |
||||
# mysql_mariadb_version: 10.3 |
@ -0,0 +1,11 @@ |
||||
--- |
||||
|
||||
- name: Configure MariaDB repository |
||||
yum_repository: |
||||
name: mariadb |
||||
description: MariaDB |
||||
baseurl: http://yum.mariadb.org/{{ mysql_mariadb_version }}/centos$releasever-amd64 |
||||
gpgcheck: True |
||||
gpgkey: https://yum.mariadb.org/RPM-GPG-KEY-MariaDB |
||||
state: "{{ (mysql_mariadb_version != 'default') | ternary('present','absent') }}" |
||||
tags: repo,mysql |
Loading…
Reference in new issue