install_docker/vars/main.yml

37 lines
1.5 KiB
YAML
Raw Normal View History

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
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
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 %}"
- 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 %}"
- 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 %}"
- 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 %}"
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"