laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ci/+/21152 )


Change subject: ansible: roles/docker: Add ca-certificates
......................................................................

ansible: roles/docker: Add ca-certificates

If that package is not installed, adding the GPG key fails with SSL
certificate verification, at least on a debian10 i386 lxc:

TASK [add docker gpg key to apt keyring] 
*************************************************************
fatal: [gtp0-deb10build32-ansible]: FAILED! => {"changed": false, "msg": 
"Failed to download key at https://download.docker.com/linux/debian/gpg: 
Request failed: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate 
verify failed: unable to get local issuer certificate (_ssl.c:1056)>"}

Change-Id: I58259a99258c9c7471e1fcf03a3a7b62fa9c6a48
---
M ansible/roles/docker/tasks/main.yml
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/52/21152/1

diff --git a/ansible/roles/docker/tasks/main.yml 
b/ansible/roles/docker/tasks/main.yml
index 6ffe1af..2dbe47b 100644
--- a/ansible/roles/docker/tasks/main.yml
+++ b/ansible/roles/docker/tasks/main.yml
@@ -9,6 +9,7 @@
     - apt-transport-https
     - gnupg
     - cron
+    - ca-certificates

 - name: add docker gpg key to apt keyring
   apt_key:

--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/21152
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I58259a99258c9c7471e1fcf03a3a7b62fa9c6a48
Gerrit-Change-Number: 21152
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <lafo...@osmocom.org>
Gerrit-MessageType: newchange

Reply via email to