blob: b0de73669b05a1d583e1a7d0cb63c84e402c52ab (
plain)
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
|
---
- name: Apply dotfiles
command: "stow --target /home/{{ user_name }}/ --dir /home/{{ user_name }}/.local/share/dotfiles {{ item }}"
with_items:
- dunst
- i3
- i3status
- latexmk
- less
- mailcap
- notmuch
- pass
- ssh
- x
- xdg-user-dirs
- name: Checkout private dotfiles
git:
dest: "/home/{{ user_name }}/.local/share/dotfiles-private"
repo: "{{ dotfiles_private }}"
verify_commit: yes
- name: Check .bashrc status
stat:
path: "/home/{{ user_name }}/.bashrc"
register: bashrc
- name: Delete bashrc if not a link
file:
path: "/home/{{ user_name }}/.bashrc"
state: absent
when: bashrc.stat.islnk is defined and bashrc.stat.islnk == False
- name: Apply private dotfiles
command: "stow --target /home/{{ user_name }}/ --dir /home/{{ user_name }}/.local/share/dotfiles-private {{ item }}"
with_items:
- bash
- git
- irssi
- khard
- mbsync
- mutt
- msmtp
- netrcpw
- notmuch
- ssh
- streamlink
- stterm-vim
- vdirsyncer
- X11
- youtube-dl
|