]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame - roles/git/tasks/main.yml
Psql configuration to show nice lines
[perso/Immae/Config/Ansible.git] / roles / git / tasks / main.yml
CommitLineData
397c4fed 1---
587b6dd6
IB
2- name: Config dirs
3 file:
4 state: directory
5 path: "$XDG_CONFIG_HOME/{{ item }}"
6 loop:
7 - tig
8 - git/templates_fretlink/hooks
397c4fed 9- name: Config files
eac82f28
IB
10 copy:
11 mode: preserve
e1c588d3
IB
12 src: "config_files/{{ item }}"
13 dest: "$XDG_CONFIG_HOME/{{ item }}"
eac82f28
IB
14 loop:
15 - tig/config
16 - git/templates_fretlink/hooks/pre-push
397c4fed
IB
17- name: git config file
18 template:
19 src: config.j2
20 dest: $XDG_CONFIG_HOME/git/config
21- name: Create tig state dir
22 file:
23 path: $XDG_STATE_HOME/tig
24 state: directory
25- name: Link tig state dir
26 file:
27 path: "$XDG_DATA_HOME/tig"
28 src: "$XDG_STATE_HOME/tig"
29 state: link