mirror of
https://gitea.0xace.cc/ansible-galaxy/docker.git
synced 2024-11-28 17:56:39 +00:00
30 lines
1.6 KiB
YAML
30 lines
1.6 KiB
YAML
docker_apt_key:
|
|
- name: "docker.gpg"
|
|
url: "https://download.docker.com/linux/debian/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/debian {{ ansible_distribution_release }} stable"
|
|
filename: docker
|
|
|
|
docker_deps_packages:
|
|
- gnupg2
|
|
- python3-docker
|
|
|
|
docker_package_name: "docker-ce"
|
|
docker_epoch_version: "5"
|
|
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 }}"
|
|
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 }}"
|
|
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"
|