From 9b248ee56dfff96429666f8d31af527cbfc4c7c5 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss <erdnaxe@crans.org> Date: Sun, 29 Nov 2020 11:00:41 +0100 Subject: [PATCH] Use Proxmox and Grafana mirrors --- roles/grafana/tasks/main.yml | 13 +------------ .../apt/sources.list.d/pve-enterprise.list.j2 | 2 +- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/roles/grafana/tasks/main.yml b/roles/grafana/tasks/main.yml index 6b290178..0ec974c3 100644 --- a/roles/grafana/tasks/main.yml +++ b/roles/grafana/tasks/main.yml @@ -1,15 +1,4 @@ --- -- name: Install APT HTTPS support - apt: - name: - - apt-transport-https - - gpg - state: present - update_cache: true - register: apt_result - retries: 3 - until: apt_result is succeeded - - name: Import Grafana GPG signing key apt_key: url: https://packages.grafana.com/gpg.key @@ -21,7 +10,7 @@ - name: Add Grafana repository apt_repository: - repo: deb https://packages.grafana.com/oss/deb stable main + repo: deb http://mirror.adm.crans.org/grafana/oss/deb stable main state: present update_cache: true diff --git a/roles/proxmox-apt-sources/templates/apt/sources.list.d/pve-enterprise.list.j2 b/roles/proxmox-apt-sources/templates/apt/sources.list.d/pve-enterprise.list.j2 index f1a09d1d..739806d3 100644 --- a/roles/proxmox-apt-sources/templates/apt/sources.list.d/pve-enterprise.list.j2 +++ b/roles/proxmox-apt-sources/templates/apt/sources.list.d/pve-enterprise.list.j2 @@ -1,2 +1,2 @@ {{ ansible_header | comment }} -deb http://download.proxmox.com/debian/pve {{ ansible_lsb.codename }} pve-no-subscription +deb http://mirror.adm.crans.org/proxmox/debian/pve {{ ansible_lsb.codename }} pve-no-subscription -- GitLab