-
Notifications
You must be signed in to change notification settings - Fork 2
/
playbook.yml
67 lines (67 loc) · 2.4 KB
/
playbook.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
- hosts: localhost
vars_prompt:
- name: "git_user"
prompt: "What is your Git username?"
private: no
- name: "git_email"
prompt: "What is your Git email?"
private: no
- name: "clitools"
prompt: "Do you need cli tools? (vim, curl, wget, htop) [y/N]"
private: no
- name: "officetools"
prompt: "Do you need office tools? (shutter, keepassx, thunderbird) [y/N]"
private: no
- name: "development"
prompt: "Do you need development tools? (git, gcm, remmina, virtualbox, vagrant) [y/N]"
private: no
- name: "vpn"
prompt: "Do you need Gnome VPN extensions? [y/N]"
private: no
- name: "dbclient"
prompt: "Do you need pgAdmin [1] or DBeaver [2]? [1,2,N]"
private: no
- name: "editor"
prompt: "Do you need Atom [1] or Visual Studio Code [2]? [1,2,N]"
private: no
- name: "browser"
prompt: "Do you need Chromium [1] or Opera [2]? [1,2,N]"
private: no
- name: "java"
prompt: "Do you need Java? [y/N]"
private: no
- name: "seafile"
prompt: "Do you need Seafile? [y/N]"
private: no
- name: "spotify"
prompt: "Do you need Spotify? [y/N]"
private: no
- name: "zsh"
prompt: "Do you need zsh as default shell? [y/N]"
private: no
- name: "cleanup"
prompt: "Do you want to remove ads and tracking? [y/N]"
private: no
pre_tasks:
- include_vars: config/defaults.yml
roles:
- { role: updates }
- { role: clitools, when: clitools|lower == "y" }
- { role: officetools, when: officetools|lower == "y" }
- { role: chromium, when: "'1' in browser" }
- { role: opera, when: "'2' in browser" }
- { role: git, when: development|lower == "y" }
- { role: gcm, when: development|lower == "y" }
- { role: remmina, when: development|lower == "y" }
- { role: virtualbox, when: development|lower == "y" }
- { role: vagrant, when: development|lower == "y" }
- { role: vpn_ext, when: vpn|lower == "y" }
- { role: pgadmin, when: "'1' in dbclient" }
- { role: dbeaver, when: "'2' in dbclient" }
- { role: atom, when: "'1' in editor" }
- { role: vscode, when: "'2' in editor" }
- { role: java, when: java|lower == "y" }
- { role: seafile, when: seafile|lower == "y" }
- { role: spotify, when: spotify|lower == "y" }
- { role: zsh, when: zsh|lower == "y" }
- { role: cleanup, when: cleanup|lower == "y" }