allow unattended upgrades from apt.grafana.com

This commit is contained in:
Finn 2024-03-31 10:37:53 -07:00
parent 3634979ce8
commit df10ba82ee
2 changed files with 8 additions and 0 deletions

View file

@ -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

View file

@ -0,0 +1,3 @@
Unattended-Upgrade::Origins-Pattern {
"site=apt.grafana.com"
}