Introduce variables for apt key-server and -id

pull/17/head
Jasper N. Brouwer 2017-06-28 14:48:20 +02:00
parent f0e64253d6
commit 2d5f8f6ddc
2 changed files with 3 additions and 2 deletions

View File

@ -127,6 +127,8 @@ mysql_users: []
mysql_mariadb_version: '10.1'
# See: https://downloads.mariadb.org/mariadb/repositories
mysql_mariadb_repository: "http://ftp.igh.cnrs.fr/pub/mariadb/repo/{{ mysql_mariadb_version }}/debian"
mysql_mariadb_key_server: "keyserver.ubuntu.com"
mysql_mariadb_key_id: '0xcbcb082a1bb943db'
# -------------------------------------
# Percona

View File

@ -1,7 +1,7 @@
---
- name: APT | Install MariaDB key
apt_key: keyserver="keyserver.ubuntu.com" id="0xcbcb082a1bb943db" state=present
apt_key: keyserver="{{ mysql_mariadb_key_server }}" id="{{ mysql_mariadb_key_id }}" state=present
- name: APT | Add MariaDB repository
apt_repository: repo='deb {{ mysql_mariadb_repository }} {{ ansible_distribution_release }} main' state=present
@ -12,4 +12,3 @@
- name: INCLUDE | Normal Install
include: default.yml