main.yml 305 B

12345678910
  1. ---
  2. # tasks file for docker
  3. - name: Install docker
  4. action: "{{ ansible_pkg_mgr }} name=docker state=present" and not is_atomic
  5. - name: enable and start the docker service
  6. service: name=docker enabled=yes state=started
  7. - include: udev_workaround.yml
  8. when: docker_udev_workaround | default(False)