From c7cca6eb560146116a57fb2a2bfff35c9ba023bc Mon Sep 17 00:00:00 2001
From: binary <me@rgoncalves.se>
Date: Thu, 19 Nov 2020 23:40:17 +0100
Subject: Switch user creation tasks

---
 roles/git/tasks/main.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

(limited to 'roles')

diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml
index 74481e4..35df41a 100644
--- a/roles/git/tasks/main.yml
+++ b/roles/git/tasks/main.yml
@@ -4,6 +4,12 @@
 
 ---
 
+- name: create git user
+  user:
+    name: git
+    group: git
+    shell: "{{ path_gitshell }}"
+
 - name: create git-only directory
   file:
     path: /data/git
@@ -12,9 +18,3 @@
     state: directory
     mode: 0741
 
-- name: create git user
-  user:
-    name: git
-    group: git
-    shell: "{{ path_gitshell }}"
-
-- 
cgit v1.2.3