summaryrefslogtreecommitdiff
path: root/roles/tools/tasks/main.yml
blob: aa61aabd39bb29af87ef873adf8fe9fd554747c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
---
- name: Import other tools
  include_role:
    name: "{{ item }}"
  loop:
    - git
    - gnupg
- name: mplayer config file
  copy:
    src: mplayer
    dest: $XDG_CONFIG_HOME/mplayer/config
- name: psql config file
  copy:
    src: psqlrc
    dest: $XDG_CONFIG_HOME/psql/psqlrc
- name: psql history directory
  file:
    path: $XDG_STATE_HOME/psql
    state: directory
- name: vim config file
  register: vim_result
  copy:
    src: vimrc
    dest: $XDG_CONFIG_HOME/vim/vimrc
- name: run PlugInstall
  shell: vim -c PlugInstall -c qa
  when: vim_result.changed
- name: tmux config file
  template:
    src: tmux.conf.j2
    dest: $XDG_CONFIG_HOME/tmux/tmux.conf
- name: youtube viewer config file
  template:
    src: youtube-viewer.conf.j2
    dest: $XDG_CONFIG_HOME/youtube-viewer/youtube-viewer.conf
- name: remind config file
  synchronize:
    recursive: yes
    archive: no
    checksum: yes
    src: remind/commands/
    dest: /$XDG_CONFIG_HOME/remind/
- name: remind service file
  copy:
    src: remind/remind@.service
    dest: $XDG_CONFIG_HOME/systemd/user/
  notify:
    - reload systemd