summaryrefslogtreecommitdiff
path: root/roles/tools/tasks/main.yml
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-02 17:03:49 +0100
committerIsmaël Bouya <ismael.bouya@fretlink.com>2018-11-02 17:03:49 +0100
commit397c4fed757d201af627636822981e85e84ea572 (patch)
treed6733d4022bf04784be84581f6c16e96a1b229e8 /roles/tools/tasks/main.yml
downloadAnsible-397c4fed757d201af627636822981e85e84ea572.tar.gz
Ansible-397c4fed757d201af627636822981e85e84ea572.tar.zst
Ansible-397c4fed757d201af627636822981e85e84ea572.zip
Validation initiale
Diffstat (limited to 'roles/tools/tasks/main.yml')
-rw-r--r--roles/tools/tasks/main.yml48
1 files changed, 48 insertions, 0 deletions
diff --git a/roles/tools/tasks/main.yml b/roles/tools/tasks/main.yml
new file mode 100644
index 0000000..aa61aab
--- /dev/null
+++ b/roles/tools/tasks/main.yml
@@ -0,0 +1,48 @@
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 register: vim_result
22 copy:
23 src: vimrc
24 dest: $XDG_CONFIG_HOME/vim/vimrc
25- name: run PlugInstall
26 shell: vim -c PlugInstall -c qa
27 when: vim_result.changed
28- name: tmux config file
29 template:
30 src: tmux.conf.j2
31 dest: $XDG_CONFIG_HOME/tmux/tmux.conf
32- name: youtube viewer config file
33 template:
34 src: youtube-viewer.conf.j2
35 dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf
36- name: remind config file
37 synchronize:
38 recursive: yes
39 archive: no
40 checksum: yes
41 src: remind/commands/
42 dest: /$XDG_CONFIG_HOME/remind/
43- name: remind service file
44 copy:
45 src: remind/remind@.service
46 dest: $XDG_CONFIG_HOME/systemd/user/
47 notify:
48 - reload systemd