-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdotfiles.yml
More file actions
55 lines (55 loc) · 1.28 KB
/
dotfiles.yml
File metadata and controls
55 lines (55 loc) · 1.28 KB
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
49
50
51
52
53
54
55
---
- name: Setup dotfiles
hosts: localhost
connection: local
vars:
ansible_python_interpreter: "{{ ansible_playbook_python }}"
roles:
- role: arch
when: ansible_os_family == 'Archlinux'
tags: arch
- role: aws
when: mtype == 'personal' and wedition != 'media'
tags: aws
- role: bash
when: mtype == 'server' or wedition == 'media'
tags: bash
- role: ghostty
when: mtype != 'server' and wedition != 'media'
tags: ghostty
- role: git
tags: git
- role: gnupg
when: mtype != 'server'
tags: gnupg
- role: gnome
when:
- ansible_os_family == 'Archlinux' or ansible_os_family == 'Debian'
- mtype == 'personal' or mtype == 'work'
tags: gnome
- role: irssi
when: mtype != 'server'
tags: irssi
- role: macos
when: ansible_os_family == 'Darwin'
tags: macos
- role: other
tags: other
- role: screen
when: mtype == 'server'
tags: screen
- role: ssh
tags: ssh
- role: tmux
when: mtype != 'server'
tags: tmux
- role: urlwatch
tags: urlwatch
- role: vim
tags: vim
- role: zsh
when:
- mtype != 'server'
- wedition != 'media'
tags: zsh
# vim: ft=yaml.ansible