summaryrefslogtreecommitdiff
path: root/roles/contexts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-11 21:35:01 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-11 21:35:01 +0100
commit587b6dd6d2d3a63ad28455003c0c2c5f58afdecb (patch)
treec2342ed5766c09e98c1948c4fbaa6667a53b4538 /roles/contexts
parent379fbe46b77c84a419a0b438b088e65b76406c73 (diff)
downloadAnsible-587b6dd6d2d3a63ad28455003c0c2c5f58afdecb.tar.gz
Ansible-587b6dd6d2d3a63ad28455003c0c2c5f58afdecb.tar.zst
Ansible-587b6dd6d2d3a63ad28455003c0c2c5f58afdecb.zip
Add dir creation
Diffstat (limited to 'roles/contexts')
-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