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.

32 lines
1.1 KiB

8 years ago
  1. ---
  2. docker_kernel_min_version: '3.10'
  3. # https://apt.dockerproject.org/repo/dists/ubuntu-xenial/main/filelist
  4. docker_versioned_pkg:
  5. 'latest': docker-engine
  6. '1.11': docker-engine=1.11.1-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-engine=17.03.1~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  10. 'stable': docker-engine=17.03.1~ce-0~ubuntu-{{ ansible_distribution_release|lower }}
  11. 'edge': docker-engine=17.05.0~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_apt_repo_gpgkey }}'
  20. repo_keys:
  21. - 58118E89F3A912897C070ADBF76221572C52609D
  22. docker_repo_info:
  23. pkg_repo: apt_repository
  24. repos:
  25. - >
  26. deb {{ docker_apt_repo_base_url }}
  27. {{ ansible_distribution|lower }}-{{ ansible_distribution_release|lower }}
  28. main