Change name
This commit is contained in:
parent
7bed4b0bb0
commit
dc4ff84935
1 changed files with 4 additions and 23 deletions
|
@ -19,32 +19,13 @@
|
||||||
name: docker-ce
|
name: docker-ce
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
|
|
||||||
- name: Update repositories cache and install "docker-ce" package
|
- name: Update repositories cache and install "docker-ce-cli" package
|
||||||
apt:
|
apt:
|
||||||
name: docker-ce-cli
|
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:
|
apt:
|
||||||
name: containerd.io
|
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
|
|
Reference in a new issue