2023-03-23 18:05:38 +00:00
|
|
|
docker_apt_key:
|
|
|
|
- name: "docker.gpg"
|
|
|
|
url: "https://download.docker.com/linux/ubuntu/gpg"
|
|
|
|
keyring: "/etc/apt/trusted.gpg.d/docker.gpg"
|
|
|
|
docker_apt_repository:
|
|
|
|
- repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/docker.gpg] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
|
|
|
|
filename: docker
|
|
|
|
|
|
|
|
docker_deps_packages:
|
2023-07-21 14:12:16 +00:00
|
|
|
- gnupg2
|
2023-03-23 18:05:38 +00:00
|
|
|
- python3-docker
|
|
|
|
|
|
|
|
docker_package_name: "docker-ce"
|
|
|
|
docker_epoch_version: "5"
|
2023-07-21 14:12:16 +00:00
|
|
|
docker_version_build: "1~{{ ansible_distribution | lower }}.{{ ansible_distribution_version }}~{{ ansible_distribution_release }}"
|
|
|
|
docker_package: "{{ docker_package_name }}={{ docker_epoch_version }}:{{ docker_version }}-{{ docker_version_build }}"
|
2023-06-05 10:01:04 +00:00
|
|
|
docker_packages:
|
|
|
|
- "{{ docker_package_name }}={{ docker_epoch_version }}:{{ docker_version }}{{ docker_version_build }}"
|
|
|
|
- "{{ docker_package_name }}-cli={{ docker_epoch_version }}:{{ docker_version }}{{ docker_version_build }}"
|
|
|
|
- "{{ docker_package_name }}-rootless-extras={{ docker_epoch_version }}:{{ docker_version }}{{ docker_version_build }}"
|
2023-03-23 18:05:38 +00:00
|
|
|
docker_config_dir: "/etc/docker"
|
|
|
|
docker_home_dir: "/var/lib/docker"
|
|
|
|
docker_data_dir: "{{ docker_home_dir }}/{{ docker_major_version }}/{{ docker_cluster_name }}"
|
|
|
|
docker_ssl_path: "{{ docker_config_dir }}/{{ docker_major_version }}/{{ docker_cluster_name }}"
|
|
|
|
docker_package_name_regex: "{{ docker_package_name }}-{{ docker_version }}-{{ docker_version_build }}"
|
|
|
|
docker_cluster_name: "main"
|
|
|
|
docker_ssl_update_ca_command: "update-ca-certificates --fresh"
|
|
|
|
docker_ssl_ca_trust_dir: "/usr/local/share/ca-certificates"
|
|
|
|
docker_unit_name: "docker"
|