install_docker/vars/main.yml

37 lines
1.2 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
state: present
- name: "docker-{{ install_docker_edition }}-cli"
version: latest
state: present
- name: "docker-{{ install_docker_edition }}-rootless-extras"
version: latest
state: present
- name: "containerd.io"
version: latest
state: present
2023-04-07 22:24:04 +00:00
install_docker_pip_packages:
- name: docker
version_constraint: latest
state: present
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"