Change name

This commit is contained in:
Kekskurse 2021-10-19 18:43:13 +02:00
parent 7bed4b0bb0
commit dc4ff84935
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 4 additions and 23 deletions

View File

@ -19,32 +19,13 @@
name: docker-ce
update_cache: yes
- name: Update repositories cache and install "docker-ce" package
- name: Update repositories cache and install "docker-ce-cli" package
apt:
name: docker-ce-cli
update_cache: no
- name: Update repositories cache and install "docker-ce" package
- name: Update repositories cache and install "containerd.io" package
apt:
name: containerd.io
update_cache: no
- 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'
- name: Run `docker-compose up` again
community.docker.docker_compose:
project_src: /root/traefic/
build: no