fb41492e4a
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>
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
|