---
- name: Config files
- synchronize:
- recursive: yes
- archive: no
- checksum: yes
- src: config_files/
- dest: /$XDG_CONFIG_HOME/
+ copy:
+ mode: preserve
+ src: "config_files/{{ config_item }}"
+ dest: "$XDG_CONFIG_HOME/{{ config_item }}"
+ loop:
+ - tig/config
+ - git/templates_fretlink/hooks/pre-push
+ loop_control:
+ loop_var: config_item
- name: git config file
template:
src: config.j2