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.orglaforge has submitted this change. ( 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(-)
Approvals:
laforge: Looks good to me, approved; Verified
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-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201115/96234243/attachment.htm>