ansible-role-docker/vars/main.yml

43 lines
1.2 KiB
YAML

---
py3_env_install: True
py3_env_pip_pkgs:
- docker-py
- 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 %}"