]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blobdiff - roles/programming/nodejs/tasks/main.yml
Add nodejs history variable
[perso/Immae/Config/Ansible.git] / roles / programming / nodejs / tasks / main.yml
index fcf74212f2db6a623618b0bf1a21f77ffcc63c82..fdcd6781d561b930665d046edc57e74c18055ef3 100644 (file)
@@ -1,4 +1,14 @@
 ---
+- name: Config dirs
+  file:
+    state: directory
+    path: "$XDG_CONFIG_HOME/{{ item }}"
+  loop:
+    - npm
+- name: State dirs
+  file:
+    state: directory
+    path: "$XDG_STATE_HOME/nodejs"
 - name: config file
   copy:
     src: npmrc