system-config/playbooks/roles/install-docker/tasks/main.yaml
James E. Blair bf2d53eb7d Don't install a blank docker daemon config
It's not necessary to install an empty config file, and doing so
will prevent us from using other roles to configure mirrors on
test hosts.

Change-Id: I3d7eb615f1e297fde2d693b5fc64bc6e691e2c22
2019-02-20 09:09:52 -08:00

17 lines
368 B
YAML

- name: Create docker directory
become: yes
file:
state: directory
path: /etc/docker
- name: Install docker-ce from upstream
include: upstream.yaml
when: use_upstream_docker
- name: Install docker-engine from distro
include: distro.yaml
when: not use_upstream_docker
- name: reset ssh connection to pick up docker group
meta: reset_connection