Allow configuring custom repo host
In order to allow using mirrors, this introduces a new variable which can control the host for the percona repo: galera_percona_xtrabackup_repo_host Change-Id: I4d9d408f99608f1625dac9e0802e8d8d77b0f48b
This commit is contained in:
parent
75f67afb9e
commit
139b9b68fd
@ -74,7 +74,7 @@ _galera_repo:
|
||||
gpgkey: "https://yum.mariadb.org/RPM-GPG-KEY-MariaDB"
|
||||
|
||||
_galera_percona_xtrabackup_repo:
|
||||
repo: "http://repo.percona.com/release/$releasever/RPMS/$basearch"
|
||||
repo: "http://{{ galera_percona_xtrabackup_repo_host | default('repo.percona.com') }}/release/$releasever/RPMS/$basearch"
|
||||
state: "{{ (use_percona_upstream | bool) | ternary('present', 'absent') }}"
|
||||
|
||||
galera_server_percona_distro_packages:
|
||||
|
@ -89,7 +89,7 @@ galera_server_percona_distro_packages:
|
||||
|
||||
# Repositories
|
||||
_galera_percona_xtrabackup_repo:
|
||||
repo: "deb http://repo.percona.com/apt {{ ansible_distribution_release }} main"
|
||||
repo: "deb http://{{ galera_percona_xtrabackup_repo_host | default('repo.percona.com') }}/apt {{ ansible_distribution_release }} main"
|
||||
state: "{{ (use_percona_upstream | bool) | ternary('present', 'absent') }}"
|
||||
filename: "Percona"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user