fix deprecated apt signing key location
This commit is contained in:
parent
d7b81aab29
commit
f142b0cf16
2 changed files with 3 additions and 1 deletions
|
@ -25,6 +25,7 @@ All services below are running under Docker, except NSD and Borg.
|
||||||
|
|
||||||
- matrix
|
- matrix
|
||||||
- peertube?
|
- peertube?
|
||||||
|
- Pixelfed?
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
|
|
@ -9,9 +9,10 @@
|
||||||
- name: Add Docker APT key
|
- name: Add Docker APT key
|
||||||
apt_key:
|
apt_key:
|
||||||
url: https://download.docker.com/linux/ubuntu/gpg
|
url: https://download.docker.com/linux/ubuntu/gpg
|
||||||
|
keyring: /etc/apt/keyrings/docker.gpg
|
||||||
- name: Add Docker repository
|
- name: Add Docker repository
|
||||||
apt_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
|
register: apt_repository
|
||||||
- name: Update APT cache
|
- name: Update APT cache
|
||||||
apt:
|
apt:
|
||||||
|
|
Reference in a new issue