]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/lxde/tasks/main.yml
Replace synchronize wiht copy
[perso/Immae/Config/Ansible.git] / roles / lxde / tasks / main.yml
index b48b5e56c75fc53a1e069f9a65cf8f7c7c806936..16607874335e809490e0932dfb11ee5048fd306a 100644 (file)
@@ -3,9 +3,22 @@
   include_role:
     name: graphical
 - name: Config files
-  synchronize:
-    recursive: yes
-    archive: no
-    checksum: yes
-    src: config_files/
-    dest: /$XDG_CONFIG_HOME/
+  copy:
+    mode: preserve
+    src: "config_files/{{ lxde_config_item }}"
+    dest: "$XDG_CONFIG_HOME/{{ lxde_config_item }}"
+  loop:
+    - libfm/libfm.conf
+    - pcmanfm/LXDE/desktop-items-0.conf
+    - pcmanfm/LXDE/pcmanfm.conf
+    - lxterminal/lxterminal.conf
+    - openbox/lxde-rc.xml
+    - lxpanel/LXDE/panels/panel
+    - lxpanel/LXDE/config
+    - lxpanel/launchtaskbar.cfg
+    - lxsession-default-apps/settings.conf
+    - lxsession/LXDE/autostart
+    - lxsession/LXDE/desktop.conf
+    - xinitrc
+  loop_control:
+    loop_var: lxde_config_item