]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/contexts/fretlink/tasks/main.yml
Add dir creation
[perso/Immae/Config/Ansible.git] / roles / contexts / fretlink / tasks / main.yml
index 78f733a43cc12805047cca1f6f6721561af09c6a..085da83a30899cfc11ebeb8ad9455883e03e1f6b 100644 (file)
@@ -6,12 +6,20 @@
     - programming/python
     - programming/haskell
     - programming/nodejs
+- name: Config dirs
+  file:
+    state: directory
+    path: "$XDG_CONFIG_HOME/{{ item }}"
+  loop:
+    - autostart
+    - Zeal
+    - pm2
 - name: Config files
   copy:
     src: "config_files/{{ item }}"
     dest: "$XDG_CONFIG_HOME/{{ item }}"
   loop:
-    - "autostart/zeal.desktop"
+    - autostart/zeal.desktop
 - name: zeal configuration
   ini_file:
     path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf"
       args:
         creates: "$XDG_DATA_HOME/Zeal/Zeal/docsets/{{ item }}.docset"
       loop: "{{ zeal_missing_docsets.stdout.split('\n') }}"
-- name: Create pm2 config dir
-  file:
-    path: $XDG_CONFIG_HOME/pm2
-    state: directory
 - name: workdir
   block:
+    - name: Workdir
+      file:
+        state: directory
+        path: $HOME/workdir
     - name: workdir scripts
       copy:
         mode: 0755