Skip to content
This repository was archived by the owner on May 31, 2023. It is now read-only.

Replaced packagecloud repo with official Grafana repo #125

Merged
merged 2 commits into from
Jan 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,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
Expand All @@ -41,7 +41,7 @@

- name: Add Grafana repository [Debian/Ubuntu]
apt_repository:
repo: deb https://packagecloud.io/grafana/stable/debian/ stretch main
repo: deb https://packages.grafana.com/oss/deb stable main
state: present
update_cache: true
register: _update_apt_cache
Expand Down
4 changes: 2 additions & 2 deletions templates/etc/yum.repos.d/grafana.repo.j2
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{ ansible_managed | comment }}
[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