From c547c2d5cfa86ddc8c1d696b194712e294c480e7 Mon Sep 17 00:00:00 2001
From: Chris Croome <chris@webarchitects.co.uk>
Date: Mon, 15 Oct 2018 14:59:41 +0100
Subject: [PATCH] Create a ~/.yarn directory

---
 roles/live2dev/tasks/main.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/roles/live2dev/tasks/main.yml b/roles/live2dev/tasks/main.yml
index 57130a8..c311240 100644
--- a/roles/live2dev/tasks/main.yml
+++ b/roles/live2dev/tasks/main.yml
@@ -1,4 +1,12 @@
 ---
+- name: Yarn directory exists
+  file:
+    path: "/home/{{ item }}/.yarn"
+    mode: 0700
+    owner: "{{ item }}"
+    group: "{{ item }}"
+  with_items: "{{ users }}"
+
 - name: Update script in place
   template:
     src: templates/update.j2
-- 
GitLab