Change in osmo-ci[master]: ansible/docker: Use docker.io on architectures not supported by docke...

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Nov 15 09:02:13 UTC 2020


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


Change subject: ansible/docker: Use docker.io on architectures not supported by docker-ce
......................................................................

ansible/docker: Use docker.io on architectures not supported by docker-ce

The docker company official builds are only present for amd64, but not
for other architectures.  Let's use the Debian docker.io package in such
situations.

Change-Id: Id85137fc0eb7fa5e2b31aa928c78bfdaadc281ac
---
M ansible/roles/docker/tasks/main.yml
1 file changed, 7 insertions(+), 1 deletion(-)



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

diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml
index 2dbe47b..c38d38b 100644
--- a/ansible/roles/docker/tasks/main.yml
+++ b/ansible/roles/docker/tasks/main.yml
@@ -22,9 +22,15 @@
     update_cache: yes
   when: ansible_distribution == "Debian"
 
-- name: install docker
+- name: install docker.io from Debian
+  apt:
+    name: docker.io
+  when: ansible_architecture != 'x86_64'
+
+- name: install docker-ce
   apt:
     name: docker-ce
+  when: ansible_architecture == 'x86_64'
 
 - name: add jenkins to the docker group
   user:

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

Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Id85137fc0eb7fa5e2b31aa928c78bfdaadc281ac
Gerrit-Change-Number: 21158
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201115/2d8f5d9c/attachment.htm>


More information about the gerrit-log mailing list