---
+- name: Config dirs
+ file:
+ state: directory
+ path: "$XDG_CONFIG_HOME/{{ item }}"
+ loop:
+ - tig
+ - git/templates_fretlink/hooks
- name: Config files
- synchronize:
- recursive: yes
- archive: no
- checksum: yes
- src: config_files/
- dest: /$XDG_CONFIG_HOME/
+ 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