Add git role

This commit is contained in:
Fernando Schauenburg 2019-11-15 20:02:19 +00:00
parent e279c9b5d1
commit e9133534c4
4 changed files with 17 additions and 1 deletions

View file

@ -8,7 +8,7 @@
roles: roles:
- bash - bash
- dircolors - dircolors
#- git - git
- hushlogin - hushlogin
- mintty - mintty
- python - python

16
roles/git/tasks/main.yml Normal file
View file

@ -0,0 +1,16 @@
---
- name: Create the git config directory
file:
path: ~/.config/git
state: directory
- name: Deploy git config
file:
src: "{{ role_path }}/files/{{ item }}"
dest: "~/.config/git/{{ item }}"
state: link
force: yes
loop:
- config
- ignore