-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdotfiles.yml
150 lines (150 loc) · 2.67 KB
/
dotfiles.yml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
- name: Ansible Dev & Dotfiles Setup
vars_files:
- group_vars/all/main.yml
hosts: all
gather_facts: yes
become: yes
become_user: '{{ zsh_user }}'
tasks:
- block:
- import_role:
name: apt
tags:
- apt
when: ansible_facts['os_family']|lower == "debian"
- import_role:
name: arch
tags:
- arch
- aur
- pacman
- paru
when: ansible_facts['os_family']|lower == "archlinux"
- import_role:
name: osx
tags:
- osx
- mac
- darwin
when: ansible_facts['os_family']|lower == "darwin"
- import_role:
name: base
tags:
- dev
- base
- import_role:
name: git
tags:
- git
- import_role:
name: gcloud
tags:
- gcloud
- google-sdk
- import_role:
name: zsh
tags:
- zsh
- zplugin
- import_role:
name: dotfiles
tags:
- dotfiles
- import_role:
name: ssh
tags:
- ssh
- ssh_conf
- import_role:
name: gpg
tags:
- gpg
- gnupg
- import_role:
name: wallpaper
tags:
- wallpaper
- wallpapers
- import_role:
name: bat
tags:
- bat
- import_role:
name: screen
tags:
- screen
- term
# - import_role:
# name: firefox
# tags:
# - firefox
# - firefox_uri
# - import_role:
# name: slack
# tags:
# - slack
- import_role:
name: fd
tags:
- fd
- import_role:
name: asdf
tags:
- asdf
- python
- ruby
- nodejs
- npm
- node
- java
- groovy
- import_role:
name: fzf
tags:
- fzf
- import_role:
name: hub
tags:
- hub
# - import_role:
# name: webstorm
# tags:
# - webstorm
# - import_role:
# name: pycharm
# tags:
# - jetbrains
# - pycharm
- import_role:
name: neofetch
tags:
- neofetch
- import_role:
name: neovim
tags:
- neovim
- vim
- nvim
- import_role:
name: rclone
tags:
- rclone
- import_role:
name: rg
tags:
- rg
- ripgrep
- import_role:
name: rust
tags:
- rust
- exa
- import_role:
name: tmux
tags:
- tmux
- tmuxp
- import_playbook: linux.yml
when: ansible_facts['os_family']|lower != 'darwin'
- import_playbook: darwin.yml
when: ansible_facts['os_family']|lower == 'darwin'