ansible-role-docker/vars/main.yml

53 lines
1.4 KiB
YAML

---
py3_external_env_install: '{% if ansible_distribution_version is version_compare("22.04", "<") %}true{% else %}false{% endif %}'
py3_env_install: '{{ py3_external_env_install | bool }}'
py3_env_pip_pkgs:
- docker
- jsondiff
py3_env_versioned_pip_pkgs:
- pkg: "requests"
version: "2.29.0"
docker_python_deb_pkgs:
- python3-docker
- python3-jsondiff
docker_deb_repo_key_url: 'https://download.docker.com/linux/ubuntu/gpg'
# Set to the Debian distribution name if not Ubuntu
docker_linux_distribution: '{{ ansible_distribution_release | lower }}'
docker_deb_repo_old: 'deb https://apt.dockerproject.org/repo {{ ansible_distribution | lower }}-17 main'
docker_deb_repo: 'deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable'
docker_el_repo: 'https://download.docker.com/linux/centos/docker-ce.repo'
docker_pkg_status: present
docker_deb_packages:
- docker-ce
- docker-ce-cli
- docker-ce-rootless-extras
- containerd.io
- nfs-common
docker_versioned_deb_packages:
- "docker-ce={{ docker_pkg_version }}"
- "docker-ce-cli={{ docker_pkg_version }}"
- "docker-ce-rootless-extras={{ docker_pkg_version }}"
- containerd.io
- nfs-common
docker_deb_old_packages:
- docker-engine
- docker.io
- containerd
- runc
docker_el_packages:
- docker-ce
- docker-ce-cli
- containerd.io
- nfs-utils
rsyslog_disable_var_log_syslog: "{% if docker_log_to_journal %}true{% else %}false{% endif %}"