[BREAKING] use configureable gitconfig file

This commit is contained in:
Jannik Beyerstedt 2020-01-16 10:46:42 +01:00
parent a2cd7e0f5f
commit 247f6cccb6
3 changed files with 34 additions and 15 deletions

View file

@ -28,11 +28,9 @@
- { src: "{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/agnoster.zsh-theme", dest: ".oh-my-zsh/custom/themes/agnoster.zsh-theme" }
- { src: "{{ role_path }}/files/dotfiles/_oh-my-zsh/custom/themes/jtbx.zsh-theme", dest: ".oh-my-zsh/custom/themes/jtbx.zsh-theme" }
- name: usersettings - Set global gitconfig
copy:
src: "{{ item.src }}"
dest: "{{ item.dest }}"
with_items:
- { src: "{{ role_path }}/files/dotfiles/_gitconfig", dest: ".gitconfig" }
template:
src: "{{ role_path }}/templates/_gitconfig.j2"
dest: "{{ ansible_user_dir }}/.gitconfig"
when: usersetup_gitconfig == true
- name: usersettings - Create .vim directory