feat(git): configure local settings
This commit is contained in:
parent
5390e77716
commit
dd14486223
3 changed files with 14 additions and 1 deletions
|
@ -15,3 +15,8 @@
|
|||
- .gitconfig
|
||||
- .gitignore-global
|
||||
- .gitmessage
|
||||
|
||||
- name: Local configuration
|
||||
ansible.builtin.template:
|
||||
src: gitconfig.local.j2
|
||||
dest: "{{ ansible_user_dir }}/.gitconfig.local"
|
||||
|
|
3
roles/git/templates/gitconfig.local.j2
Normal file
3
roles/git/templates/gitconfig.local.j2
Normal file
|
@ -0,0 +1,3 @@
|
|||
[user]
|
||||
email = {{ git_user_email }}
|
||||
name = {{ git_user_name }}
|
Loading…
Add table
Add a link
Reference in a new issue