Install gnupg before adding docker apt gpg key during pre-install
Adding docker apt gpg key requires gpupg to be installed. Task will fail on minimal Debian 10 install as gnupg absent. Change-Id: I979f88162ad8a206e413b37ac7fb09bcc912e016
This commit is contained in:
parent
f30cf26271
commit
027b8d244c
@ -81,7 +81,7 @@
|
|||||||
update_cache: yes
|
update_cache: yes
|
||||||
become: True
|
become: True
|
||||||
|
|
||||||
- name: Install ca certs
|
- name: Install CA certificates and gnupg packages
|
||||||
package:
|
package:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
state: latest
|
state: latest
|
||||||
@ -89,6 +89,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
|
- gnupg
|
||||||
|
|
||||||
- name: Ensure apt sources list directory exists
|
- name: Ensure apt sources list directory exists
|
||||||
file:
|
file:
|
||||||
|
Loading…
Reference in New Issue
Block a user