install_docker/vars/main.yml
Bertrand Lanson f3446af6d6
All checks were successful
test / Linting (push) Successful in 7s
test / Molecule tests (default, debian12) (push) Successful in 1m33s
test / Molecule tests (default, debian11) (push) Successful in 1m36s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m44s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m27s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m46s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m37s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m45s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m45s
remove dependencies auto-install for more standard role
2023-07-30 13:30:00 +02:00

33 lines
1.4 KiB
YAML

---
# 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_pip_packages:
- name: docker
version_constraint: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
install_docker_repository:
- uri: "https://download.docker.com/linux/{{ ansible_distribution|lower }}"
gpg_key: "https://download.docker.com/linux/{{ ansible_distribution|lower }}/gpg"
comments: "ubuntu docker repository"
type: "deb"
suites: "{{ ansible_distribution_release }}"
components: "stable"
filename: "docker"