forked from FF-RGB/ansible
Accomodate for new grafana repo location
This commit is contained in:
parent
5020612824
commit
4bf5099ab2
@ -1,10 +1,14 @@
|
||||
---
|
||||
|
||||
- name: Enable grafana apt-key
|
||||
apt_key: url="https://packages.grafana.com/gpg.key"
|
||||
- name: Retrieve Grafana Key and avoid apt_key
|
||||
block:
|
||||
- name: grafana |no apt key
|
||||
ansible.builtin.get_url:
|
||||
url: https://apt.grafana.com/gpg.key
|
||||
dest: /usr/share/keyrings/grafana.key
|
||||
|
||||
- name: Enable grafana repository
|
||||
apt_repository: repo="deb https://packages.grafana.com/oss/deb stable main"
|
||||
apt_repository: repo="deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main"
|
||||
|
||||
- name: Install grafana
|
||||
apt: name=grafana
|
||||
|
Loading…
Reference in New Issue
Block a user