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