]>
Commit | Line | Data |
---|---|---|
1 | --- | |
2 | - name: Import other tools | |
3 | include_role: | |
4 | name: "{{ item }}" | |
5 | loop: | |
6 | - git | |
7 | - gnupg | |
8 | - name: config files | |
9 | copy: | |
10 | src: "{{ item }}" | |
11 | dest: "$XDG_CONFIG_HOME/{{ item }}" | |
12 | loop: | |
13 | - htop/htoprc | |
14 | - mplayer/config | |
15 | - name: postgresql | |
16 | block: | |
17 | - name: psql config file | |
18 | copy: | |
19 | src: psqlrc | |
20 | dest: $XDG_CONFIG_HOME/psql/psqlrc | |
21 | - name: psql history directory | |
22 | file: | |
23 | path: $XDG_STATE_HOME/psql | |
24 | state: directory | |
25 | - name: vim config file | |
26 | copy: | |
27 | src: vimrc | |
28 | dest: $XDG_CONFIG_HOME/vim/vimrc | |
29 | notify: | |
30 | - run PlugInstall | |
31 | - meta: flush_handlers | |
32 | - name: tmux config file | |
33 | template: | |
34 | src: tmux.conf.j2 | |
35 | dest: $XDG_CONFIG_HOME/tmux/tmux.conf | |
36 | - name: youtube viewer config file | |
37 | template: | |
38 | src: youtube-viewer.conf.j2 | |
39 | dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf | |
40 | - name: remind config file | |
41 | copy: | |
42 | src: "remind/commands/{{ item }}" | |
43 | dest: "$XDG_CONFIG_HOME/remind/{{ item }}" | |
44 | loop: | |
45 | - work | |
46 | - name: remind service file | |
47 | copy: | |
48 | src: remind/remind@.service | |
49 | dest: $XDG_CONFIG_HOME/systemd/user/ | |
50 | notify: | |
51 | - reload systemd | |
52 | - meta: flush_handlers | |
53 | - name: Clone password store | |
54 | git: | |
55 | dest: "$XDG_DATA_HOME/pass" | |
56 | repo: gitolite@git.immae.eu:perso/Immae/Prive/Password_store | |
57 | - name: dconf configuration | |
58 | # check: `dconf dump /` or `dconf-editor` | |
59 | dconf: | |
60 | key: "{{ item.0 }}" | |
61 | value: "{{ item.1 }}" | |
62 | loop: | |
63 | - ["/org/gnome/evince/default/continuous", "true"] | |
64 | - ["/org/gnome/evince/default/fullscreen", "true"] | |
65 | - ["/org/gtk/settings/file-chooser/sort-column", "'name'"] | |
66 | - ["/org/gtk/settings/file-chooser/show-size-column", "true"] | |
67 | - ["/org/gtk/settings/file-chooser/show-hidden", "true"] | |
68 | - ["/org/gtk/settings/file-chooser/location-mode", "'path-bar'"] | |
69 | - ["/org/gtk/settings/file-chooser/sort-directories-first", "false"] | |
70 | - ["/org/gtk/settings/file-chooser/sort-order", "'ascending'"] | |
71 | - ["/org/gtk/settings/file-chooser/startup-mode", "'recent'"] | |
72 | - name: gtk2 configuration | |
73 | ini_file: | |
74 | path: "$XDG_CONFIG_HOME/gtk-2.0/gtkfilechooser.ini" | |
75 | section: "Filechooser Settings" | |
76 | option: "{{ item.0 }}" | |
77 | value: "{{ item.1 }}" | |
78 | no_extra_spaces: true | |
79 | loop: | |
80 | - [ "SortColumn", "name" ] | |
81 | - [ "ShowSizeColumn", "true" ] | |
82 | - [ "ShowHidden", "true" ] | |
83 | - [ "LocationMode", "path-bar" ] | |
84 | - [ "SortOrder", "ascending" ] | |
85 | - [ "StartupMode", "recent" ] | |
86 |