blob: b847d1d327b5229c3c01c4123288d9b6fa567e0c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
---
- name: Config dirs
file:
state: directory
path: "$XDG_CONFIG_HOME/{{ item }}"
loop:
- tig
- git/templates_fretlink/hooks
- name: Config files
copy:
mode: preserve
src: "config_files/{{ item }}"
dest: "$XDG_CONFIG_HOME/{{ item }}"
loop:
- tig/config
- git/templates_fretlink/hooks/pre-push
- name: git config file
template:
src: config.j2
dest: $XDG_CONFIG_HOME/git/config
- name: Create tig state dir
file:
path: $XDG_STATE_HOME/tig
state: directory
- name: Link tig state dir
file:
path: "$XDG_DATA_HOME/tig"
src: "$XDG_STATE_HOME/tig"
state: link
|