summaryrefslogtreecommitdiff
path: root/roles/contexts/fretlink/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'roles/contexts/fretlink/tasks')
-rw-r--r--roles/contexts/fretlink/tasks/main.yml18
1 files changed, 13 insertions, 5 deletions
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 @@
6 - programming/python 6 - programming/python
7 - programming/haskell 7 - programming/haskell
8 - programming/nodejs 8 - programming/nodejs
9- name: Config dirs
10 file:
11 state: directory
12 path: "$XDG_CONFIG_HOME/{{ item }}"
13 loop:
14 - autostart
15 - Zeal
16 - pm2
9- name: Config files 17- name: Config files
10 copy: 18 copy:
11 src: "config_files/{{ item }}" 19 src: "config_files/{{ item }}"
12 dest: "$XDG_CONFIG_HOME/{{ item }}" 20 dest: "$XDG_CONFIG_HOME/{{ item }}"
13 loop: 21 loop:
14 - "autostart/zeal.desktop" 22 - autostart/zeal.desktop
15- name: zeal configuration 23- name: zeal configuration
16 ini_file: 24 ini_file:
17 path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf" 25 path: "$XDG_CONFIG_HOME/Zeal/Zeal.conf"
@@ -47,12 +55,12 @@
47 args: 55 args:
48 creates: "$XDG_DATA_HOME/Zeal/Zeal/docsets/{{ item }}.docset" 56 creates: "$XDG_DATA_HOME/Zeal/Zeal/docsets/{{ item }}.docset"
49 loop: "{{ zeal_missing_docsets.stdout.split('\n') }}" 57 loop: "{{ zeal_missing_docsets.stdout.split('\n') }}"
50- name: Create pm2 config dir
51 file:
52 path: $XDG_CONFIG_HOME/pm2
53 state: directory
54- name: workdir 58- name: workdir
55 block: 59 block:
60 - name: Workdir
61 file:
62 state: directory
63 path: $HOME/workdir
56 - name: workdir scripts 64 - name: workdir scripts
57 copy: 65 copy:
58 mode: 0755 66 mode: 0755