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.

51 lines
1.6 KiB

  1. ---
  2. docker_kernel_min_version: '3.10'
  3. # https://download.docker.com/linux/debian/
  4. # https://apt.dockerproject.org/repo/dists/debian-wheezy/main/filelist
  5. docker_versioned_pkg:
  6. 'latest': docker-ce
  7. '1.13': docker-engine=1.13.1-0~debian-{{ ansible_distribution_release|lower }}
  8. '17.03': docker-ce=17.03.2~ce-0~debian-{{ ansible_distribution_release|lower }}
  9. '17.06': docker-ce=17.06.2~ce-0~debian
  10. '17.09': docker-ce=17.09.0~ce-0~debian
  11. '17.12': docker-ce=17.12.1~ce-0~debian
  12. '18.03': docker-ce=18.03.1~ce-0~debian
  13. '18.06': docker-ce=18.06.2~ce~3-0~debian
  14. '18.09': docker-ce=5:18.09.5~3-0~debian-{{ ansible_distribution_release|lower }}
  15. 'stable': docker-ce=5:18.09.5~3-0~debian-{{ ansible_distribution_release|lower }}
  16. 'edge': docker-ce=5:18.09.5~3-0~debian-{{ ansible_distribution_release|lower }}
  17. docker_package_info:
  18. pkg_mgr: apt
  19. pkgs:
  20. - name: "{{ docker_versioned_pkg[docker_version | string] }}"
  21. force: yes
  22. docker_repo_key_info:
  23. pkg_key: apt_key
  24. url: '{{ docker_debian_repo_gpgkey }}'
  25. repo_keys:
  26. - 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
  27. docker_repo_info:
  28. pkg_repo: apt_repository
  29. repos:
  30. - >
  31. deb {{ docker_debian_repo_base_url }}
  32. {{ ansible_distribution_release|lower }}
  33. stable
  34. dockerproject_repo_key_info:
  35. pkg_key: apt_key
  36. url: '{{ dockerproject_apt_repo_gpgkey }}'
  37. repo_keys:
  38. - 58118E89F3A912897C070ADBF76221572C52609D
  39. dockerproject_repo_info:
  40. pkg_repo: apt_repository
  41. repos:
  42. - >
  43. deb {{ dockerproject_apt_repo_base_url }}
  44. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  45. main