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
899 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.6-0~ubuntu-{{ ansible_distribution_release|lower }}
  9. '1.13': docker-engine=1.13.0-0~ubuntu-{{ ansible_distribution_release|lower }}
  10. docker_package_info:
  11. pkg_mgr: apt
  12. pkgs:
  13. - name: "{{ docker_versioned_pkg[docker_version | string] }}"
  14. force: yes
  15. docker_repo_key_info:
  16. pkg_key: apt_key
  17. keyserver: hkp://p80.pool.sks-keyservers.net:80
  18. repo_keys:
  19. - 58118E89F3A912897C070ADBF76221572C52609D
  20. docker_repo_info:
  21. pkg_repo: apt_repository
  22. repos:
  23. - >
  24. deb https://apt.dockerproject.org/repo
  25. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  26. main