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.

47 lines
1.5 KiB

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