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.

50 lines
1.5 KiB

Backport remove dockerproject (#5682) (#5780) * Remove dockerproject org (#5548) * Change dockerproject.org to download.docker.com dockerproject.org was deprecated in 2017 and has gone down. * Restore yum repo for containerd Change-Id: I883bb512a2164a85865b1bd4fb569af0358c8c2b Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org> * remove legacy docker repo in kubernetes/preinstall before any packages installed (#5640) * Remove dockerproject_.+_repo_.+ variables (#5662) This 38688a44866d5ee612f80c16ef81e135d1347653 change replaces the value for dockerproject_.+_repo_.+ docker variables but their new value was previously defined in other variables. This change removes the dockerproject_.+_repo_.+ docker variables in favor of the older ones. * Remove stale legacy yum docker repo /etc/yum.repos.d/docker.repo (#5569) * Remove stale legacy yum docker repo /etc/yum.repos.d/docker.repo * move task 'Remove legacy docker repo file' to pre-upgrade.yml * fix upgrade procedure when in playbook (#5695) exists role kubernetes/preinstall and not exists role container-engine error 'yum_repo_dir' is undefined Co-authored-by: Matthew Mosesohn <matthew.mosesohn@gmail.com> Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org> Co-authored-by: Victor Morales <chipahuac@hotmail.com> Co-authored-by: Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com> Co-authored-by: Matthew Mosesohn <matthew.mosesohn@gmail.com> Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org> Co-authored-by: Victor Morales <chipahuac@hotmail.com>
4 years ago
Backport remove dockerproject (#5682) (#5780) * Remove dockerproject org (#5548) * Change dockerproject.org to download.docker.com dockerproject.org was deprecated in 2017 and has gone down. * Restore yum repo for containerd Change-Id: I883bb512a2164a85865b1bd4fb569af0358c8c2b Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org> * remove legacy docker repo in kubernetes/preinstall before any packages installed (#5640) * Remove dockerproject_.+_repo_.+ variables (#5662) This 38688a44866d5ee612f80c16ef81e135d1347653 change replaces the value for dockerproject_.+_repo_.+ docker variables but their new value was previously defined in other variables. This change removes the dockerproject_.+_repo_.+ docker variables in favor of the older ones. * Remove stale legacy yum docker repo /etc/yum.repos.d/docker.repo (#5569) * Remove stale legacy yum docker repo /etc/yum.repos.d/docker.repo * move task 'Remove legacy docker repo file' to pre-upgrade.yml * fix upgrade procedure when in playbook (#5695) exists role kubernetes/preinstall and not exists role container-engine error 'yum_repo_dir' is undefined Co-authored-by: Matthew Mosesohn <matthew.mosesohn@gmail.com> Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org> Co-authored-by: Victor Morales <chipahuac@hotmail.com> Co-authored-by: Kubernetes Prow Robot <k8s-ci-robot@users.noreply.github.com> Co-authored-by: Matthew Mosesohn <matthew.mosesohn@gmail.com> Co-authored-by: Craig Rodrigues <rodrigc@crodrigues.org> Co-authored-by: Victor Morales <chipahuac@hotmail.com>
4 years ago
  1. ---
  2. docker_kernel_min_version: '3.10'
  3. # https://download.docker.com/linux/debian/
  4. docker_versioned_pkg:
  5. 'latest': docker-ce
  6. '1.13': docker-engine=1.13.1-0~debian-{{ ansible_distribution_release|lower }}
  7. '17.03': docker-ce=17.03.2~ce-0~debian-{{ ansible_distribution_release|lower }}
  8. '17.06': docker-ce=17.06.2~ce-0~debian
  9. '17.09': docker-ce=17.09.0~ce-0~debian
  10. '17.12': docker-ce=17.12.1~ce-0~debian
  11. '18.03': docker-ce=18.03.1~ce-0~debian
  12. '18.06': docker-ce=18.06.2~ce~3-0~debian
  13. '18.09': docker-ce=5:18.09.7~3-0~debian-{{ ansible_distribution_release|lower }}
  14. 'stable': docker-ce=5:18.09.7~3-0~debian-{{ ansible_distribution_release|lower }}
  15. 'edge': docker-ce=5:18.09.7~3-0~debian-{{ ansible_distribution_release|lower }}
  16. docker_package_info:
  17. pkg_mgr: apt
  18. pkgs:
  19. - name: "{{ docker_versioned_pkg[docker_version | string] }}"
  20. force: yes
  21. docker_repo_key_info:
  22. pkg_key: apt_key
  23. url: '{{ docker_debian_repo_gpgkey }}'
  24. repo_keys:
  25. - 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
  26. docker_repo_info:
  27. pkg_repo: apt_repository
  28. repos:
  29. - >
  30. deb {{ docker_debian_repo_base_url }}
  31. {{ ansible_distribution_release|lower }}
  32. stable
  33. dockerproject_repo_key_info:
  34. pkg_key: apt_key
  35. url: '{{ docker_debian_repo_gpgkey }}'
  36. repo_keys:
  37. - 58118E89F3A912897C070ADBF76221572C52609D
  38. dockerproject_repo_info:
  39. pkg_repo: apt_repository
  40. repos:
  41. - >
  42. deb {{ docker_debian_repo_base_url }}
  43. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  44. main