From 43c7860b0a91e957374ff8821c26c3f080525446 Mon Sep 17 00:00:00 2001 From: Erzetpe Date: Thu, 10 Jan 2019 15:53:14 +0100 Subject: [PATCH] Item: #0000 Desc: Change repository address for grafana. --- core/core/src/ansible/roles/grafana/tasks/install.yml | 4 ++-- .../src/ansible/roles/grafana/templates/grafana.yum.repo.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/core/src/ansible/roles/grafana/tasks/install.yml b/core/core/src/ansible/roles/grafana/tasks/install.yml index 69626a0dda..fc54c5b849 100644 --- a/core/core/src/ansible/roles/grafana/tasks/install.yml +++ b/core/core/src/ansible/roles/grafana/tasks/install.yml @@ -33,7 +33,7 @@ - block: - name: Import Grafana GPG signing key [Debian/Ubuntu] apt_key: - url: "https://packagecloud.io/gpg.key" + url: "https://packages.grafana.com/gpg.key" state: present validate_certs: false register: _add_apt_key_x86 @@ -47,7 +47,7 @@ - name: Add Grafana repository [Debian/Ubuntu] apt_repository: - repo: deb https://packagecloud.io/grafana/stable/debian/ jessie main + repo: deb https://packages.grafana.com/oss/deb stable main state: present update_cache: false register: _apt_add_repo_x86 diff --git a/core/core/src/ansible/roles/grafana/templates/grafana.yum.repo.j2 b/core/core/src/ansible/roles/grafana/templates/grafana.yum.repo.j2 index 05601cc09e..0cbe827390 100644 --- a/core/core/src/ansible/roles/grafana/templates/grafana.yum.repo.j2 +++ b/core/core/src/ansible/roles/grafana/templates/grafana.yum.repo.j2 @@ -1,10 +1,10 @@ # {{ ansible_managed }} [grafana] name=grafana -baseurl=https://packagecloud.io/grafana/stable/el/7/$basearch +baseurl=https://packages.grafana.com/oss/rpm #repo_gpgcheck=1 enabled=1 gpgcheck=1 -gpgkey=https://packagecloud.io/gpg.key https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana +gpgkey=https://packages.grafana.com/gpg.key sslverify=1 sslcacert=/etc/pki/tls/certs/ca-bundle.crt