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.

46 lines
1.3 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. '17.09': docker-ce=17.09.1~ce-0~ubuntu
  7. '17.12': docker-ce=17.12.1~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  8. '18.06': docker-ce=18.06.2~ce~3-0~ubuntu
  9. '18.09': docker-ce=5:18.09.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  10. 'stable': docker-ce=5:18.09.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  11. 'edge': docker-ce=5:18.09.7~3-0~ubuntu-{{ ansible_distribution_release|lower }}
  12. docker_package_info:
  13. pkg_mgr: apt
  14. pkgs:
  15. - name: "{{ docker_versioned_pkg[docker_version | string] }}"
  16. force: yes
  17. docker_repo_key_info:
  18. pkg_key: apt_key
  19. url: '{{ docker_ubuntu_repo_gpgkey }}'
  20. repo_keys:
  21. - 9DC858229FC7DD38854AE2D88D81803C0EBFCD88
  22. docker_repo_info:
  23. pkg_repo: apt_repository
  24. repos:
  25. - >
  26. deb {{ docker_ubuntu_repo_base_url }}
  27. {{ ansible_distribution_release|lower }}
  28. stable
  29. dockerproject_repo_key_info:
  30. pkg_key: apt_key
  31. url: '{{ dockerproject_apt_repo_gpgkey }}'
  32. repo_keys:
  33. - 58118E89F3A912897C070ADBF76221572C52609D
  34. dockerproject_repo_info:
  35. pkg_repo: apt_repository
  36. repos:
  37. - >
  38. deb {{ dockerproject_apt_repo_base_url }}
  39. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  40. main