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





                                 




                        





                                







                                 

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

---

- name: create git group
  group:
    name: git
    state: present

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