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
@@ -27,7 +27,7 @@
- name: Install Docker CE
apt:
name: '{{ docker_packages }}'
name: '{{ docker_packages if needs_docker_daemon else docker_cli_packages }}'
state: present
update_cache: true