zuul-jobs/roles/install-docker/tasks/docker-upstream.yaml
Kevin Carter fb41492e4a
Isolate installation mode
The role variables were making generalizations on distro package
and installation methods. This change further breaks things out,
now explicitly supporting ubuntu, debian, fedora, and
redhat(centos).

Change-Id: Ib1749721b32b21ba1ab661a64097d79037e416f3
Signed-off-by: Kevin Carter <kecarter@redhat.com>
2019-06-11 19:10:53 -05:00

14 lines
282 B
YAML

---
- name: Upstream block
become: true
block:
- name: Set up docker mirrors
include_role:
name: use-docker-mirror
- name: Install docker-ce from upstream
include_tasks: "upstream-{{ ansible_pkg_mgr }}.yaml"
- include_tasks: docker-setup.yaml