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
@@ -20,7 +20,7 @@
- name: Install docker
dnf:
name: "{{ docker_packages }}"
name: "{{ docker_packages if needs_docker_daemon else docker_cli_packages }}"
state: present
enablerepo: docker-ce-test
notify: cleanup docker