From dc4ff849351fc120c4faa0b15b8a356da6a51a4b Mon Sep 17 00:00:00 2001 From: kekskurse Date: Tue, 19 Oct 2021 18:43:13 +0200 Subject: [PATCH] Change name --- tasks/docker.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/tasks/docker.yml b/tasks/docker.yml index 21c5172..c065065 100644 --- a/tasks/docker.yml +++ b/tasks/docker.yml @@ -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 \ No newline at end of file