Improve tests: don't install daemon when running inside a container (#56)

* If running inside a container, only install docker CLI, not docker daemon.

ci_complete

* Fix OpenSUSE.
This commit is contained in:
Felix Fontein
2020-12-23 13:36:40 +01:00
committed by GitHub
parent a1a7692e74
commit 5fa53e2eeb
14 changed files with 31 additions and 12 deletions
@@ -1,7 +1,7 @@
---
- name: Install docker 17
community.general.zypper:
name: "{{ docker_packages }}"
name: "{{ docker_packages if needs_docker_daemon else docker_cli_packages }}"
force: yes
disable_gpg_check: yes
update_cache: yes