summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
blob: 8576744545153a44f6ee57ba4a4d3b2e8b94b9ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
# tasks file for docker
- name: Install docker
  yum: pkg=docker
  when: ansible_pkg_mgr == "yum"

- name: Install docker
  dnf: pkg=docker
  when: ansible_pkg_mgr == "dnf"

- name: enable and start the docker service
  service: name=docker enabled=yes state=started

- include: udev_workaround.yml
  when: docker_udev_workaround | default(False)