diff --git a/README.md b/README.md index d8fbb2c..46e83c3 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,3 @@ Ansible must be installed. Invoke with `ansible-playbook -i hosts.ini dotfiles.yml -K` - - -TODO -* monokai scheme -* gitconfig -* make idempotent -* firefox und addons/filterlisten diff --git a/roles/dotfiles/files/gitconfig b/roles/dotfiles/files/gitconfig new file mode 100644 index 0000000..68a86ac --- /dev/null +++ b/roles/dotfiles/files/gitconfig @@ -0,0 +1,10 @@ +[user] + email = mail@johannes-rothe.de + name = Johannes Rothe +[core] + editor = vim +[alias] + ci = commit + st = status + co = checkout + br = branch diff --git a/roles/dotfiles/tasks/main.yml b/roles/dotfiles/tasks/main.yml index 064db98..f8995c3 100644 --- a/roles/dotfiles/tasks/main.yml +++ b/roles/dotfiles/tasks/main.yml @@ -54,6 +54,7 @@ - '{{home}}/.config/i3/config' - '{{home}}/.config/i3status/config' - '{{home}}/.config/rofi/config' + - '{{home}}/.gitconfig' - name: Make sure folders exist file: @@ -89,3 +90,5 @@ dest: '{{home}}/.config/fish' - src: '{{files_dir}}/wallpaper' dest: '{{home}}/pictures/wallpaper' + - src: '{{files_dir}}/gitconfig' + dest: '{{home}}/.gitconfig'