fix deprecated apt signing key location

This commit is contained in:
Pim Kunis 2023-01-19 22:41:43 +01:00
parent d7b81aab29
commit f142b0cf16
2 changed files with 3 additions and 1 deletions

View file

@ -25,6 +25,7 @@ All services below are running under Docker, except NSD and Borg.
- matrix
- peertube?
- Pixelfed?
## TODO

View file

@ -9,9 +9,10 @@
- name: Add Docker APT key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
keyring: /etc/apt/keyrings/docker.gpg
- name: Add Docker repository
apt_repository:
repo: "deb https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
repo: "deb [signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
register: apt_repository
- name: Update APT cache
apt: