set git config

This commit is contained in:
Pim Kunis 2022-11-26 11:34:13 +01:00
parent b2a77c972e
commit 5a88d0c83e
3 changed files with 14 additions and 0 deletions

View file

@ -14,8 +14,13 @@
- make
- keepassxc
- zsh
- ripgrep
- name: Set default shell to zsh
become: true
user:
name: "{{ ansible_user_id }}"
shell: /usr/bin/zsh
- name: Set git configuration
template:
src: "{{ role_path }}/templates/.gitconfig.j2"
dest: "/home/{{ ansible_user_id }}/.gitconfig"