zuul-jobs/roles/ensure-docker/tasks/docker-distro.yaml
Ian Wienand b2ae863f50
Add names to include tasks
Latest ansible-lint is finding this.  It seems reasonable enough to
ensure the task is named; it's always nice to have context about what
is happening as you read the file.

Change-Id: Ia7e490aaba99da9694a6f3fdb1bca9838221b30a
2022-11-07 10:37:53 +11:00

16 lines
327 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
- name: Setup docker
include_tasks: docker-setup.yaml