specify keyring for apt_key

This commit is contained in:
Markus 2023-09-06 14:50:54 +02:00
parent 089136b71c
commit 4c55923b1c
3 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,7 @@
---
- name: Enable grafana apt-key
apt_key: url="https://apt.grafana.com/gpg.key"
apt_key: url="https://apt.grafana.com/gpg.key" keyring="/etc/apt/trusted.gpg.d/grafana.gpg"
- name: Enable grafana repository
apt_repository: repo="deb https://apt.grafana.com stable main"

View File

@ -1,7 +1,7 @@
---
- name: Enable icinga apt-key
apt_key: url="https://packages.icinga.com/icinga.key"
apt_key: url="https://packages.icinga.com/icinga.key" keyring="/etc/apt/trusted.gpg.d/icinga.gpg"
- name: Enable icinga repository
apt_repository:

View File

@ -2,7 +2,8 @@
- name: Enable PBS apt-key
apt_key:
url: "https://enterprise.proxmox.com/debian/proxmox-release-bullseye.gpg"
url: "https://enterprise.proxmox.com/debian/proxmox-release-{{ ansible_distribution_release }}.gpg"
keyring: "/etc/apt/trusted.gpg.d/proxmox-release-{{ ansible_distribution_release }}.gpg"
- name: Enable PBS repository
apt_repository: