]>
Commit | Line | Data |
---|---|---|
1 | --- | |
2 | - name: Config files | |
3 | copy: | |
4 | mode: preserve | |
5 | src: "config_files/{{ config_item }}" | |
6 | dest: "$XDG_CONFIG_HOME/{{ config_item }}" | |
7 | loop: | |
8 | - tig/config | |
9 | - git/templates_fretlink/hooks/pre-push | |
10 | loop_control: | |
11 | loop_var: config_item | |
12 | - name: git config file | |
13 | template: | |
14 | src: config.j2 | |
15 | dest: $XDG_CONFIG_HOME/git/config | |
16 | - name: Create tig state dir | |
17 | file: | |
18 | path: $XDG_STATE_HOME/tig | |
19 | state: directory | |
20 | - name: Link tig state dir | |
21 | file: | |
22 | path: "$XDG_DATA_HOME/tig" | |
23 | src: "$XDG_STATE_HOME/tig" | |
24 | state: link |