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.4 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. 'stable': docker-ce=17.03.2~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  11. 'edge': docker-ce=17.12.1~ce-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