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/contexts/fretlink/tasks/main.yml | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) (limited to 'roles/contexts/fretlink/tasks/main.yml') diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index b1b163a..57d332e 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml @@ -7,12 +7,11 @@ - programming/haskell - programming/nodejs - name: Config files - synchronize: - recursive: yes - archive: no - checksum: yes - src: config_files/ - dest: /$XDG_CONFIG_HOME/ + copy: + src: "config_files/{{ item }}" + dest: "$XDG_CONFIG_HOME/{{ item }}" + loop: + - "autostart/zeal.desktop" - name: Create pm2 config dir file: path: $XDG_CONFIG_HOME/pm2 @@ -20,16 +19,12 @@ - name: workdir block: - name: workdir scripts - synchronize: - recursive: yes - archive: no - checksum: yes - src: workdir/ - dest: /$HOME/workdir/ - - name: chmod workdir script - file: - path: $HOME/workdir/start + copy: mode: 0755 + src: "workdir/{{ item }}" + dest: "$HOME/workdir/{{ item }}" + loop: + - start - name: environment variables file block: - name: extract environment -- cgit v1.2.3