main.yml 445 B

123456789101112131415161718
  1. ---
  2. # tasks file for docker
  3. - name: Install docker
  4. action: "{{ ansible_pkg_mgr }} name=docker state=present"
  5. when: not openshift.common.is_atomic | bool
  6. - name: enable and start the docker service
  7. service:
  8. name: docker
  9. enabled: yes
  10. state: started
  11. register: start_result
  12. - set_fact:
  13. docker_service_status_changed = start_result | changed
  14. - include: udev_workaround.yml
  15. when: docker_udev_workaround | default(False)