aboutsummaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-11-14 15:59:34 +0100
committerHarald Welte <laforge@osmocom.org>2020-11-14 22:34:18 +0100
commitf1fbfc95fea0470fffa9bbf08a54d173e02e5f1f (patch)
tree52808bdab3353c34fa3dc381ef863195b8f9d255 /ansible
parent905a1e6fc8886105d9bb737cb0b545cd55a597d9 (diff)
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
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/docker/tasks/main.yml1
1 files changed, 1 insertions, 0 deletions
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: