aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2022-03-30 21:27:48 +0200
committerRomain Gonçalves <me@rgoncalves.se>2022-07-03 17:30:08 +0200
commite0aa90f72863c8c46757944280406014da83268a (patch)
tree8a5aa5532859ca24e9699d413dc95dc9635e2ba9
parent5add606d1d8316a2720bab01e6e77164b469f97b (diff)
downloadrules-e0aa90f72863c8c46757944280406014da83268a.tar.gz
roles/workstation: always create docker directory
-rw-r--r--roles/workstation/tasks/dockerd.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/roles/workstation/tasks/dockerd.yml b/roles/workstation/tasks/dockerd.yml
index f3ace56..dc1c268 100644
--- a/roles/workstation/tasks/dockerd.yml
+++ b/roles/workstation/tasks/dockerd.yml
@@ -1,3 +1,11 @@
+- name: create docker directory
+ file:
+ path: /etc/docker
+ state: directory
+ owner: 0
+ group: 0
+ mode: 0755
+
- name: configure default network for docker containers
template:
src: docker-daemon.json.j2
remember that computers suck.