30 lines
878 B
YAML
30 lines
878 B
YAML
---
|
|
# 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"
|