init syncthing host and docker role

This commit is contained in:
2026-01-26 23:01:02 -07:00
parent 0397917b55
commit 68428bc451
6 changed files with 130 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
- name: Add docker-ce repo to dnf
command: dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
args:
creates: /etc/yum.repos.d/docker-ce.repo
- name: Install docker-ce and other related packages
package:
name:
- docker-ce
- docker-ce-cli
- containerd.io
- docker-buildx-plugin
- docker-compose-plugin
state: latest
- name: Start and enable docker
service:
name: docker
state: started
enabled: true