Begin remove backup from docker + Debian support
This commit is contained in:
parent
e026113bb7
commit
7fe8837098
31 changed files with 82 additions and 565 deletions
28
roles/docker/tasks/fedora.yml
Normal file
28
roles/docker/tasks/fedora.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
|
||||
- name: Add signing key
|
||||
ansible.builtin.rpm_key:
|
||||
key: "https://download.docker.com/linux/{{ mydistribution }}/gpg"
|
||||
state: present
|
||||
|
||||
- name: Add repository into repo.d list
|
||||
ansible.builtin.yum_repository:
|
||||
name: docker
|
||||
description: docker repository
|
||||
baseurl: "https://download.docker.com/linux/{{ mydistribution }}/$releasever/$basearch/stable"
|
||||
enabled: true
|
||||
gpgcheck: true
|
||||
gpgkey: "https://download.docker.com/linux/{{ mydistribution }}/gpg"
|
||||
|
||||
- name: Install Docker
|
||||
ansible.builtin.yum:
|
||||
name:
|
||||
- docker-ce
|
||||
- docker-ce-cli
|
||||
- containerd.io
|
||||
- docker-buildx-plugin
|
||||
- docker-compose-plugin
|
||||
- docker-compose
|
||||
- python-docker
|
||||
state: latest
|
||||
update_cache: true
|
Loading…
Add table
Add a link
Reference in a new issue