summaryrefslogtreecommitdiff
path: root/roles/git/tasks/main.yml
blob: 440e1789cc0b459869f72b10d7b6340dd3515a09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
- name: Config files
  synchronize:
    recursive: yes
    archive: no
    checksum: yes
    src: config_files/
    dest: /$XDG_CONFIG_HOME/
- 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