Skip to content
Snippets Groups Projects
Commit 027b8d24 authored by Andrew Lukoshko's avatar Andrew Lukoshko Committed by Mark Goddard
Browse files

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
parent f30cf262
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ ...@@ -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 @@ ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment