From eac82f289d503c5bcc0d1e04784d027745d371c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 10 Nov 2018 13:15:21 +0100 Subject: Replace synchronize wiht copy --- roles/git/tasks/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'roles/git') diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index 440e178..e2a5bbf 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -1,11 +1,14 @@ --- - 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 -- cgit v1.2.3