From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 16:41:45 +0200 Subject: lint: pass ansible-lint + yamllint --- roles/workstation/tasks/dockerd.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'roles/workstation/tasks/dockerd.yml') diff --git a/roles/workstation/tasks/dockerd.yml b/roles/workstation/tasks/dockerd.yml index df85dd5..c0dfd33 100644 --- a/roles/workstation/tasks/dockerd.yml +++ b/roles/workstation/tasks/dockerd.yml @@ -1,18 +1,18 @@ - name: install docker - package: + ansible.builtin.package: name: - - docker - - docker-compose + - docker + - docker-compose state: present - name: append current user to docker group - user: + ansible.builtin.user: name: "{{ workstation_user }}" groups: "{{ workstation_docker_group }}" append: true - name: create docker directory - file: + ansible.builtin.file: path: /etc/docker state: directory owner: 0 @@ -20,7 +20,7 @@ mode: 0755 - name: configure default network for docker containers - template: + ansible.builtin.template: src: docker-daemon.json.j2 dest: /etc/docker/daemon.json owner: 0 -- cgit v1.2.3