You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
911 B

8 years ago
  1. docker_kernel_min_version: '3.2'
  2. # https://apt.dockerproject.org/repo/dists/ubuntu-trusty/main/filelist
  3. docker_versioned_pkg:
  4. latest: docker-engine
  5. 1.9: docker-engine=1.9.0-0~{{ ansible_distribution_release|lower }}
  6. 1.10: docker-engine=1.10.3-0~{{ ansible_distribution_release|lower }}
  7. 1.11: docker-engine=1.11.1-0~{{ ansible_distribution_release|lower }}
  8. 1.12: docker-engine=1.12.0-0~{{ ansible_distribution_release|lower }}
  9. docker_package_info:
  10. pkg_mgr: apt
  11. pkgs:
  12. - name: "{{ docker_versioned_pkg[docker_version] }}"
  13. force: yes
  14. docker_repo_key_info:
  15. pkg_key: apt_key
  16. keyserver: hkp://p80.pool.sks-keyservers.net:80
  17. repo_keys:
  18. - 58118E89F3A912897C070ADBF76221572C52609D
  19. docker_repo_info:
  20. pkg_repo: apt_repository
  21. repos:
  22. - >
  23. deb https://apt.dockerproject.org/repo
  24. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  25. main