]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/tools/tasks/main.yml
Replace synchronize wiht copy
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
index 745a08fbe5257698179cf1e24ff202719315f873..9d23619fd5b8947eb8bd98770686015a4c1c5340 100644 (file)
@@ -25,6 +25,7 @@
     dest: $XDG_CONFIG_HOME/vim/vimrc
   notify:
     - run PlugInstall
+- meta: flush_handlers
 - name: tmux config file
   template:
     src: tmux.conf.j2
     src: youtube-viewer.conf.j2
     dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf
 - name: remind config file
-  synchronize:
-    recursive: yes
-    archive: no
-    checksum: yes
-    src: remind/commands/
-    dest: /$XDG_CONFIG_HOME/remind/
+  copy:
+    src: "remind/commands/{{ item }}"
+    dest: "$XDG_CONFIG_HOME/remind/{{ item }}"
+  loop:
+    - work
 - name: remind service file
   copy:
     src: remind/remind@.service
     dest: $XDG_CONFIG_HOME/systemd/user/
   notify:
     - reload systemd
+- meta: flush_handlers
 - name: Clone password store
   git:
     dest: "$XDG_DATA_HOME/pass"