summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
blob: a56f1f39149331a95c3c820c0c24460a29f037f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
# tasks file for docker
- name: Install docker
  action: "{{ ansible_pkg_mgr }} name=docker state=present"
  when: not openshift.common.is_atomic | bool
  
- name: enable and start the docker service
  service:
    name: docker
    enabled: yes
    state: started
  register: start_result

- set_fact:
    docker_service_status_changed: start_result | changed

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