aboutsummaryrefslogblamecommitdiffstats
path: root/roles/git/tasks/main.yml
blob: 35df41afdace83c022407bb41468ba278874bd55 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12





                                 





                                







                                 

# 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.