hcp-ansible/roles/ednxzu.install_docker/vars/main.yml

37 lines
1.5 KiB
YAML
Raw Normal View History

---
# vars file for install_docker
install_docker_compose_path: "/usr/local/bin/docker-compose"
install_docker_compose_github_api: https://api.github.com/repos/docker/compose
install_docker_compose_github_url: https://github.com/docker/compose
install_docker_group: docker
install_docker_daemon_dir: /etc/docker
install_docker_packages:
- name: "docker-{{ install_docker_edition }}"
version: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
- name: "docker-{{ install_docker_edition }}-cli"
version: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
- name: "docker-{{ install_docker_edition }}-rootless-extras"
version: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
- name: "containerd.io"
version: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
install_docker_python_packages_list:
- name: python3-docker
version: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
install_docker_repository:
- name: docker
uri: "https://download.docker.com/linux/{{ ansible_distribution|lower }}"
comments: "{{ ansible_distribution|lower }} docker repository"
types:
- deb
suites:
- "{{ ansible_distribution_release }}"
components:
- stable
options:
Signed-By: "https://download.docker.com/linux/{{ ansible_distribution|lower }}/gpg"