aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git/tasks/main.yml
blob: 35df41afdace83c022407bb41468ba278874bd55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

# git ~~ roles/git/tasks/main.yml
# Init git user and settings

---

- name: create git user
  user:
    name: git
    group: git
    shell: "{{ path_gitshell }}"

- name: create git-only directory
  file:
    path: /data/git
    owner: git
    group: git
    state: directory
    mode: 0741

remember that computers suck.