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.

70 lines
2.2 KiB

  1. ---
  2. docker_version: '19.03'
  3. docker_cli_version: "{{ 'latest' if docker_version != 'latest' and docker_version is version('18.09', '<') else docker_version }}"
  4. docker_selinux_version: '17.03'
  5. docker_package_info:
  6. pkgs:
  7. docker_repo_key_info:
  8. repo_keys:
  9. docker_repo_info:
  10. repos:
  11. dockerproject_repo_key_info:
  12. repo_keys:
  13. dockerproject_repo_info:
  14. repos:
  15. docker_cgroup_driver: systemd
  16. docker_dns_servers_strict: true
  17. docker_container_storage_setup: false
  18. # Used to override obsoletes=0
  19. yum_conf: /etc/yum.conf
  20. yum_repo_dir: /etc/yum.repos.d
  21. docker_yum_conf: /etc/yum_docker.conf
  22. # Fedora docker-ce repo
  23. # TODO Remove the line below as soon as docker rpm are available for f32
  24. docker_fedora_release: "{{ '31' if (ansible_distribution_major_version | int) > 31 else ansible_distribution_major_version }}"
  25. docker_fedora_repo_base_url: 'https://download.docker.com/linux/fedora/{{ docker_fedora_release }}/$basearch/stable'
  26. docker_fedora_repo_gpgkey: 'https://download.docker.com/linux/fedora/gpg'
  27. # CentOS/RedHat docker-ce repo
  28. docker_rh_repo_base_url: 'https://download.docker.com/linux/centos/7/$basearch/stable'
  29. docker_rh_repo_gpgkey: 'https://download.docker.com/linux/centos/gpg'
  30. # Ubuntu docker-ce repo
  31. docker_ubuntu_repo_base_url: "https://download.docker.com/linux/ubuntu"
  32. docker_ubuntu_repo_gpgkey: 'https://download.docker.com/linux/ubuntu/gpg'
  33. # Debian docker-ce repo
  34. docker_debian_repo_base_url: "https://download.docker.com/linux/debian"
  35. docker_debian_repo_gpgkey: 'https://download.docker.com/linux/debian/gpg'
  36. docker_bin_dir: "/usr/bin"
  37. # CentOS/RedHat Extras repo
  38. extras_rh_repo_base_url: "http://mirror.centos.org/centos/{{ ansible_distribution_major_version }}/extras/$basearch/"
  39. extras_rh_repo_gpgkey: "http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-{{ ansible_distribution_major_version }}"
  40. # flag to enable/disable docker cleanup
  41. docker_orphan_clean_up: false
  42. # old docker package names to be removed
  43. docker_remove_packages_yum:
  44. - docker
  45. - docker-common
  46. - docker-engine
  47. - docker-selinux.noarch
  48. - docker-client
  49. - docker-client-latest
  50. - docker-latest
  51. - docker-latest-logrotate
  52. - docker-logrotate
  53. - docker-engine-selinux.noarch
  54. docker_remove_packages_apt:
  55. - docker
  56. - docker-engine
  57. - docker.io