]>
Commit | Line | Data |
---|---|---|
397c4fed IB |
1 | --- |
2 | - name: Import other tools | |
3 | include_role: | |
4 | name: "{{ item }}" | |
5 | loop: | |
6 | - git | |
7 | - gnupg | |
23a64c85 | 8 | - name: config files |
397c4fed | 9 | copy: |
23a64c85 IB |
10 | src: "{{ item }}" |
11 | dest: "$XDG_CONFIG_HOME/{{ item }}" | |
12 | loop: | |
13 | - htop/htoprc | |
14 | - mplayer/config | |
cf86d448 IB |
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 | |
397c4fed | 25 | - name: vim config file |
397c4fed IB |
26 | copy: |
27 | src: vimrc | |
28 | dest: $XDG_CONFIG_HOME/vim/vimrc | |
d03cede6 IB |
29 | notify: |
30 | - run PlugInstall | |
eac82f28 | 31 | - meta: flush_handlers |
397c4fed IB |
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 | |
eac82f28 IB |
41 | copy: |
42 | src: "remind/commands/{{ item }}" | |
43 | dest: "$XDG_CONFIG_HOME/remind/{{ item }}" | |
44 | loop: | |
45 | - work | |
397c4fed IB |
46 | - name: remind service file |
47 | copy: | |
48 | src: remind/remind@.service | |
49 | dest: $XDG_CONFIG_HOME/systemd/user/ | |
50 | notify: | |
51 | - reload systemd | |
eac82f28 | 52 | - meta: flush_handlers |
e7c9bf71 IB |
53 | - name: Clone password store |
54 | git: | |
55 | dest: "$XDG_DATA_HOME/pass" | |
56 | repo: gitolite@git.immae.eu:perso/Immae/Prive/Password_store | |
78ae9604 IB |
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" ] | |
b4693a8e IB |
86 | - name: pavucontrol configuration |
87 | ini_file: | |
88 | path: "$XDG_CONFIG_HOME/pavucontrol.ini" | |
89 | section: "window" | |
90 | option: "{{ item.0 }}" | |
91 | value: "{{ item.1 }}" | |
92 | no_extra_spaces: true | |
93 | loop: | |
94 | - [ "sinkInputType", "0" ] | |
95 | - [ "sourceOutputType", "0" ] | |
96 | - [ "sinkType", "0" ] | |
97 | - [ "sourceType", "0" ] | |
98 | - [ "showVolumeMeters", "1" ] | |
99 | - name: ssh files | |
100 | copy: | |
101 | src: "ssh/{{ item }}" | |
102 | dest: "$HOME/.ssh/{{ item }}" | |
103 | loop: | |
104 | - known_hosts | |
105 | - rc | |
106 | - name: ssh configuration | |
107 | template: | |
108 | src: ssh_config.j2 | |
109 | dest: $HOME/.ssh/config |