Add variables for apt key-server and -ids
parent
47be1b60a6
commit
e38f706eb1
|
@ -126,6 +126,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_ids: ['0xcbcb082a1bb943db', '0xf1656f24c74cd1d8']
|
||||
|
||||
# -------------------------------------
|
||||
# Percona
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
---
|
||||
|
||||
- name: APT | Install MariaDB key
|
||||
apt_key: keyserver="keyserver.ubuntu.com" id={{ item }} state=present
|
||||
with_items: ['0xcbcb082a1bb943db', '0xf1656f24c74cd1d8']
|
||||
apt_key: keyserver="{{ mysql_mariadb_key_server }}" id={{ item }} state=present
|
||||
with_items: "{{ mysql_mariadb_key_ids }}"
|
||||
|
||||
- name: APT | Add MariaDB repository
|
||||
apt_repository: repo='deb {{ mysql_mariadb_repository }} {{ ansible_distribution_release }} main' state=present
|
||||
|
|
Loading…
Reference in New Issue