install_docker/vars/main.yml
Bertrand Lanson a0e77bafb3
Some checks failed
test / Linting (push) Successful in 35s
test / Molecule tests (default, debian12) (push) Failing after 1m53s
test / Molecule tests (default, debian11) (push) Failing after 2m20s
test / Molecule tests (default, ubuntu2004) (push) Failing after 2m28s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m38s
test / Molecule tests (default, ubuntu2204) (push) Failing after 2m2s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m50s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m39s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 2m6s
install python3-docker instead of from pip following pep668
2023-08-29 23:13:59 +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_python_packages:
- name: python3-docker
version: 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"