fix: new grafana repository
This commit is contained in:
parent
7a7c727ba8
commit
cf09b5d98e
2 changed files with 12 additions and 3 deletions
|
@ -5,6 +5,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
|
||||
- new grafana repository
|
||||
|
||||
## 1.1.0 - 2021-08-22
|
||||
|
||||
### Added
|
||||
|
|
|
@ -11,8 +11,12 @@
|
|||
tags: grafana
|
||||
|
||||
- name: add repository key
|
||||
ansible.builtin.apt_key:
|
||||
url: https://packages.grafana.com/gpg.key
|
||||
ansible.builtin.get_url:
|
||||
url: https://apt.grafana.com/gpg.key
|
||||
dest: /usr/share/keyrings/grafana.key
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
retries: 2
|
||||
register: result
|
||||
until: result is succeeded
|
||||
|
@ -20,7 +24,8 @@
|
|||
|
||||
- name: add repository
|
||||
ansible.builtin.apt_repository:
|
||||
repo: deb https://packages.grafana.com/oss/deb stable main
|
||||
repo: deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
|
||||
filename: grafana
|
||||
tags: grafana
|
||||
|
||||
- name: install grafana package
|
||||
|
|
Loading…
Reference in a new issue