Stuff
This commit is contained in:
parent
cf9116f7f7
commit
aa1041e8fb
1 changed files with 16 additions and 0 deletions
16
docker.yml
16
docker.yml
|
@ -26,3 +26,19 @@
|
|||
- name: Update repositories cache and install "docker-ce" package
|
||||
apt:
|
||||
name: containerd.io
|
||||
|
||||
- name: Recursively change ownership of a directory
|
||||
ansible.builtin.file:
|
||||
path: /root/traefic
|
||||
state: directory
|
||||
recurse: yes
|
||||
owner: root
|
||||
group: root
|
||||
|
||||
- name: Template a file to /root/traefic/doicker-compose.yml
|
||||
ansible.builtin.template:
|
||||
src: docker-compose.j2
|
||||
dest: root/traefic/docker-compose.yml
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0644'
|
||||
|
|
Reference in a new issue