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.

29 lines
818 B

8 years ago
  1. ---
  2. docker_version: '1.12'
  3. docker_kernel_min_version: '3.10'
  4. # https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/filelist
  5. docker_versioned_pkg:
  6. 'latest': docker-engine
  7. '1.11': docker-engine=1.11.1-0~{{ ansible_distribution_release|lower }}
  8. '1.12': docker-engine=1.12.5-0~ubuntu-{{ ansible_distribution_release|lower }}
  9. docker_package_info:
  10. pkg_mgr: apt
  11. pkgs:
  12. - name: "{{ docker_versioned_pkg[docker_version | string] }}"
  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