2023-04-04 19:15:48 +00:00
|
|
|
---
|
|
|
|
# vars file for install_docker
|
2023-04-07 22:24:04 +00:00
|
|
|
install_docker_prerequisites_roles:
|
|
|
|
- ednxzu.manage_repositories
|
|
|
|
- ednxzu.manage_apt_packages
|
|
|
|
- ednxzu.manage_pip_packages
|
2023-04-06 21:42:29 +00:00
|
|
|
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
|
2023-04-07 22:24:04 +00:00
|
|
|
install_docker_group: docker
|
|
|
|
install_docker_daemon_dir: /etc/docker
|
2023-04-05 20:37:40 +00:00
|
|
|
install_docker_packages:
|
|
|
|
- name: "docker-{{ install_docker_edition }}"
|
|
|
|
version: latest
|
2023-06-03 20:02:24 +00:00
|
|
|
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
|
2023-04-05 20:37:40 +00:00
|
|
|
- name: "docker-{{ install_docker_edition }}-cli"
|
|
|
|
version: latest
|
2023-06-03 20:02:24 +00:00
|
|
|
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
|
2023-04-05 20:37:40 +00:00
|
|
|
- name: "docker-{{ install_docker_edition }}-rootless-extras"
|
|
|
|
version: latest
|
2023-06-03 20:02:24 +00:00
|
|
|
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
|
2023-04-05 20:37:40 +00:00
|
|
|
- name: "containerd.io"
|
|
|
|
version: latest
|
2023-06-03 20:02:24 +00:00
|
|
|
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
|
2023-04-07 22:24:04 +00:00
|
|
|
install_docker_pip_packages:
|
|
|
|
- name: docker
|
|
|
|
version_constraint: latest
|
2023-06-03 20:02:24 +00:00
|
|
|
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
|
2023-04-05 20:37:40 +00:00
|
|
|
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"
|