Begin remove backup from docker + Debian support

This commit is contained in:
Florian RICHER 2023-06-08 23:51:39 +02:00
parent e026113bb7
commit 7fe8837098
31 changed files with 82 additions and 565 deletions

View file

@ -0,0 +1,35 @@
---
- name: Install required packages
ansible.builtin.apt:
name:
- apt-transport-https
- ca-certificates
- curl
- gnupg
- lsb-release
state: present
update_cache: yes
- name: Add Docker GPG key
ansible.builtin.apt_key:
url: https://download.docker.com/linux/{{ mydistribution }}/gpg
state: present
- name: Add Docker repository
ansible.builtin.apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/{{ mydistribution }} {{ ansible_distribution_release }} stable"
state: present
update_cache: yes
- name: Install Docker Engine
ansible.builtin.apt:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
- docker-compose
- python3-docker
state: latest
update_cache: true