aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/tasks/dockerd.yml
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-12-10 21:17:16 +0100
committerRomain Gonçalves <me@rgoncalves.se>2022-12-12 22:04:27 +0100
commit7c1f7039170a25f192d87235476179f7cfe01a85 (patch)
treefc8e77b7176fa730b30b20081e76f2527371e9a3 /roles/workstation/tasks/dockerd.yml
parent21fc0867dc42128434e5c46ca684d9a966184b8a (diff)
downloadrules-7c1f7039170a25f192d87235476179f7cfe01a85.tar.gz
chore: explode workstation role in subroles
Diffstat (limited to 'roles/workstation/tasks/dockerd.yml')
-rw-r--r--roles/workstation/tasks/dockerd.yml28
1 files changed, 0 insertions, 28 deletions
diff --git a/roles/workstation/tasks/dockerd.yml b/roles/workstation/tasks/dockerd.yml
deleted file mode 100644
index c0dfd33..0000000
--- a/roles/workstation/tasks/dockerd.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-- name: install docker
- ansible.builtin.package:
- name:
- - docker
- - docker-compose
- state: present
-
-- name: append current user to docker group
- ansible.builtin.user:
- name: "{{ workstation_user }}"
- groups: "{{ workstation_docker_group }}"
- append: true
-
-- name: create docker directory
- ansible.builtin.file:
- path: /etc/docker
- state: directory
- owner: 0
- group: 0
- mode: 0755
-
-- name: configure default network for docker containers
- ansible.builtin.template:
- src: docker-daemon.json.j2
- dest: /etc/docker/daemon.json
- owner: 0
- group: 0
- mode: 0600
remember that computers suck.