docker/vars/Ubuntu-22.04.yaml

26 lines
1.1 KiB
YAML

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:
- gnupg
- python3-docker
docker_package_name: "docker-ce"
docker_epoch_version: "5"
docker_version_build: "~3-0~ubuntu-jammy"
docker_package: "{{ docker_package_name }}={{ docker_epoch_version }}:{{ docker_version }}{{ docker_version_build }}"
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"