]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blob - roles/tools/tasks/main.yml
70bba9d295b738f845ea975b8f35e844ff6d5031
[perso/Immae/Config/Ansible.git] / roles / tools / tasks / main.yml
1 ---
2 - name: Import other tools
3 include_role:
4 name: "{{ item }}"
5 loop:
6 - git
7 - gnupg
8 - name: mplayer config file
9 copy:
10 src: mplayer
11 dest: $XDG_CONFIG_HOME/mplayer/config
12 - name: psql config file
13 copy:
14 src: psqlrc
15 dest: $XDG_CONFIG_HOME/psql/psqlrc
16 - name: psql history directory
17 file:
18 path: $XDG_STATE_HOME/psql
19 state: directory
20 - name: vim config file
21 copy:
22 src: vimrc
23 dest: $XDG_CONFIG_HOME/vim/vimrc
24 notify:
25 - run PlugInstall
26 - name: tmux config file
27 template:
28 src: tmux.conf.j2
29 dest: $XDG_CONFIG_HOME/tmux/tmux.conf
30 - name: youtube viewer config file
31 template:
32 src: youtube-viewer.conf.j2
33 dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf
34 - name: remind config file
35 synchronize:
36 recursive: yes
37 archive: no
38 checksum: yes
39 src: remind/commands/
40 dest: /$XDG_CONFIG_HOME/remind/
41 - name: remind service file
42 copy:
43 src: remind/remind@.service
44 dest: $XDG_CONFIG_HOME/systemd/user/
45 notify:
46 - reload systemd
47 - name: Link password store
48 file:
49 path: "$XDG_DATA_HOME/pass"
50 src: "$XDG_CONFIG_HOME/ansible/password_store"
51 state: link