git: template .gitconfig

This commit is contained in:
2020-07-05 11:38:49 +02:00
parent 54c6316ca9
commit 2659a1cc19
6 changed files with 100 additions and 0 deletions

9
roles/git/tasks/main.yml Normal file
View File

@ -0,0 +1,9 @@
---
- name: Template .gitconfig
template:
src: gitconfig.j2
dest: "{{ git_user_home }}/.gitconfig"
owner: "{{ git_system_user }}"
group: "{{ git_system_group }}"
mode: 0660