aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/dockerd.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-10-22 16:41:45 +0200
commit0df015e9b5c4aefd4245c94ee98021d2af80ed99 (patch)
treed9dbf4259500857daf41b627dbc2d116ba92dbc1 /roles/workstation/tasks/dockerd.yml
parent1cd2d31e0d5f81ce066121de78c0ed042fc3b6aa (diff)
downloadrules-0df015e9b5c4aefd4245c94ee98021d2af80ed99.tar.gz
lint: pass ansible-lint + yamllint
Diffstat (limited to 'roles/workstation/tasks/dockerd.yml')
-rw-r--r--roles/workstation/tasks/dockerd.yml12
1 files changed, 6 insertions, 6 deletions
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
remember that computers suck.