From 587b6dd6d2d3a63ad28455003c0c2c5f58afdecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 11 Nov 2018 21:35:01 +0100 Subject: Add dir creation --- roles/contexts/fretlink/tasks/main.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'roles/contexts') diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index 78f733a..085da83 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml @@ -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" @@ -47,12 +55,12 @@ 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 -- cgit v1.2.3