c80b593fb6
The old role will be kept and include ensure-docker for backwards compatability. Change-Id: Icb76a954b04631c405b09eb54343fd852a511b83
22 lines
464 B
YAML
22 lines
464 B
YAML
---
|
|
|
|
- name: Install pre-reqs
|
|
package:
|
|
name: "{{ _docker_upstream_distro_required_packages }}"
|
|
state: present
|
|
|
|
- name: Add docker GPG key
|
|
apt_key:
|
|
data: "{{ docker_gpg_key }}"
|
|
|
|
# TODO(mordred) We should add a proxy cache mirror for this
|
|
- name: Add docker apt repo
|
|
template:
|
|
dest: /etc/apt/sources.list.d/docker.list
|
|
group: root
|
|
mode: 0644
|
|
owner: root
|
|
src: sources.list.j2
|
|
|
|
- include_tasks: upstream-package-installation.yaml
|