zuul-jobs/roles/ensure-docker/tasks/docker-distro.yaml
vass c80b593fb6 Rename install-docker to ensure-docker for consistency
The old role will be kept and include ensure-docker for backwards compatability.

Change-Id: Icb76a954b04631c405b09eb54343fd852a511b83
2020-04-04 15:41:29 -04:00

15 lines
302 B
YAML

---
- name: Distro block
become: true
block:
- name: Install docker
package:
name: "{{ docker_distro_packages }}"
state: present
when:
- not (use_upstream_docker | bool)
notify: Assure docker service is running
- include_tasks: docker-setup.yaml