initial commit with redbot and vaultwarden migrated
This commit is contained in:
commit
15c1b9c2ea
18 changed files with 267 additions and 0 deletions
21
roles/docker/tasks/main.yml
Normal file
21
roles/docker/tasks/main.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
- name: Add Docker repo
|
||||
ansible.builtin.yum_repository:
|
||||
name: docker
|
||||
description: Docker Fedora repo
|
||||
baseurl: https://download.docker.com/linux/fedora/$releasever/$basearch/stable/
|
||||
gpgkey: https://download.docker.com/linux/fedora/gpg
|
||||
|
||||
- name: Install Docker
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- docker-ce
|
||||
- docker-ce-cli
|
||||
- containerd.io
|
||||
- docker-compose-plugin
|
||||
state: present
|
||||
|
||||
- name: Enable and start Docker service
|
||||
ansible.builtin.service:
|
||||
name: docker
|
||||
enabled: true
|
||||
state: started
|
||||
Loading…
Add table
Add a link
Reference in a new issue