Commit 69e24353 authored by EKbfh's avatar EKbfh

Merge branch 'fix-grafana-repos' into 'microservices'

Fix grafana repos

See merge request !50
parents 04b83831 d0ca1773
Pipeline #10607 canceled with stages
in 25 minutes and 14 seconds
......@@ -3,9 +3,9 @@
yum_repository:
name: grafana
description: Grafana repository
baseurl: https://packagecloud.io/grafana/stable/el/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}
baseurl: https://packages.grafana.com/oss/rpm
gpgcheck: "True"
gpgkey: https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
gpgkey: https://packages.grafana.com/gpg.key
enabled: "True"
environment:
http_proxy: "{{ http_proxy }}"
......
---
- name: remove obsolete grafana repo
file:
path: packagecloud_io_grafana_stable_debian.list
state: absent
tags:
- repo
- name: Add Grafana apt key
apt_key:
url: https://packagecloud.io/gpg.key
url: https://packages.grafana.com/gpg.key
validate_certs: "True"
environment:
https_proxy: "{{ http_proxy }}"
http_proxy: "{{ http_proxy }}"
tags:
- repo
- name: Add Grafana repo
apt_repository:
repo: "deb https://packagecloud.io/grafana/stable/debian/ {{ ansible_distribution_release }} main"
repo: "deb https://packages.grafana.com/oss/deb stable main"
state: present
update_cache: "True"
environment:
......
......@@ -3,9 +3,9 @@
yum_repository:
name: grafana
description: Grafana repository
baseurl: https://packagecloud.io/grafana/stable/el/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}
baseurl: https://packages.grafana.com/oss/rpm
gpgcheck: "True"
gpgkey: https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
gpgkey: https://packages.grafana.com/gpg.key
enabled: "True"
environment:
http_proxy: "{{ http_proxy }}"
......
......@@ -3,9 +3,9 @@
yum_repository:
name: grafana
description: Grafana repository
baseurl: https://packagecloud.io/grafana/stable/el/{{ ansible_distribution_major_version }}/{{ ansible_architecture }}
baseurl: https://packages.grafana.com/oss/rpm
gpgcheck: "True"
gpgkey: https://grafanarel.s3.amazonaws.com/RPM-GPG-KEY-grafana
gpgkey: https://packages.grafana.com/gpg.key
enabled: "True"
environment:
http_proxy: "{{ http_proxy }}"
......
---
- name: remove obsolete grafana repo
file:
path: packagecloud_io_grafana_stable_debian.list
state: absent
tags:
- repo
- name: Add Grafana apt key
apt_key:
url: https://packagecloud.io/gpg.key
url: https://packages.grafana.com/gpg.key
environment:
https_proxy: "{{ http_proxy }}"
http_proxy: "{{ http_proxy }}"
......@@ -10,7 +17,7 @@
- name: Add Grafana repo
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: "True"
environment:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment