install_docker/vars/main.yml

30 lines
878 B
YAML
Raw Normal View History

2023-04-04 19:15:48 +00:00
---
# vars file for install_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
install_docker_compose_packages:
- name:
version:
state: "{{ 'present' if install_docker_compose else 'absent' }}"
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"