aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-19 23:40:17 +0100
committerbinary <me@rgoncalves.se>2020-11-19 23:40:17 +0100
commitc7cca6eb560146116a57fb2a2bfff35c9ba023bc (patch)
tree1bb49891010631aaefe053387e0a60dcf9149e31 /roles/git
parent5a42c1c27eaf683b6bf51e0d875c5a7fc1ce670c (diff)
downloadinfrastructure-c7cca6eb560146116a57fb2a2bfff35c9ba023bc.tar.gz
Switch user creation tasks
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/main.yml12
1 files changed, 6 insertions, 6 deletions
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 }}"
-
remember that computers suck.