summaryrefslogtreecommitdiffstats
path: root/roles/docker/tasks/main.yml
blob: 4e24fd3b34b759113b3ab486dba581b547c81706 (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)