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.

60 lines
2.2 KiB

  1. ---
  2. docker_kernel_min_version: '3.10'
  3. # https://download.docker.com/linux/ubuntu/
  4. docker_versioned_pkg:
  5. 'latest': docker-ce
  6. '1.11': docker-engine=1.11.2-0~{{ ansible_distribution_release|lower }}
  7. '1.12': docker-engine=1.12.6-0~ubuntu-{{ ansible_distribution_release|lower }}
  8. '1.13': docker-engine=1.13.1-0~ubuntu-{{ ansible_distribution_release|lower }}
  9. '17.03': docker-ce=17.03.2~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  10. '17.09': docker-ce=17.09.0~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  11. '17.12': docker-ce=17.12.1~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  12. '18.06': docker-ce=18.06.2~ce~3-0~ubuntu
  13. '18.09': docker-ce=5:18.09.9~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  14. '19.03': docker-ce=5:19.03.13~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  15. 'stable': docker-ce=5:19.03.13~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  16. 'edge': docker-ce=5:19.03.13~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  17. docker_cli_versioned_pkg:
  18. 'latest': docker-ce-cli
  19. '18.09': docker-ce-cli=5:18.09.9~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  20. '19.03': docker-ce-cli=5:19.03.13~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  21. docker_package_info:
  22. pkg_mgr: apt
  23. pkgs:
  24. - name: "{{ containerd_versioned_pkg[containerd_version | string] }}"
  25. force: yes
  26. - name: "{{ docker_cli_versioned_pkg[docker_cli_version | string] }}"
  27. force: yes
  28. - name: "{{ docker_versioned_pkg[docker_version | string] }}"
  29. force: yes
  30. docker_repo_key_info:
  31. pkg_key: apt_key
  32. url: '{{ docker_ubuntu_repo_gpgkey }}'
  33. repo_keys:
  34. - 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
  35. docker_repo_info:
  36. pkg_repo: apt_repository
  37. repos:
  38. - >
  39. deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
  40. {{ ansible_distribution_release|lower }}
  41. stable
  42. dockerproject_repo_key_info:
  43. pkg_key: apt_key
  44. url: '{{ docker_ubuntu_repo_gpgkey }}'
  45. repo_keys:
  46. - 58118E89F3A912897C070ADBF76221572C52609D
  47. dockerproject_repo_info:
  48. pkg_repo: apt_repository
  49. repos:
  50. - >
  51. deb [arch={{ host_architecture }}] {{ docker_ubuntu_repo_base_url }}
  52. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  53. main