summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
blob: dd4401389e6c061efb6e851ca0e5436eefc5ca18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
# 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