allow unattended upgrades from apt.grafana.com
This commit is contained in:
parent
3634979ce8
commit
df10ba82ee
2 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,11 @@
|
|||
repo: "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main"
|
||||
filename: "grafana"
|
||||
|
||||
- name: allow unattended upgrades from the grafana repo
|
||||
template:
|
||||
src: unattended-upgrades-promtail
|
||||
dest: /etc/apt/apt.conf.d/unattended-upgrades-promtail
|
||||
|
||||
- name: install promtail
|
||||
apt:
|
||||
name: promtail
|
||||
|
|
3
roles/monitoring/templates/unattended-upgrades-promtail
Normal file
3
roles/monitoring/templates/unattended-upgrades-promtail
Normal file
|
@ -0,0 +1,3 @@
|
|||
Unattended-Upgrade::Origins-Pattern {
|
||||
"site=apt.grafana.com"
|
||||
}
|
Loading…
Reference in a new issue