-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathubuntu24.yml
94 lines (88 loc) · 2.43 KB
/
ubuntu24.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
---
- name: Development environment playbook.
hosts: all
vars_files:
- config.yml
- env.yml
vars:
integration_testing: false
environment: "{{ env }}"
gather_facts: true
pre_tasks:
- name: Display system info.
ansible.builtin.debug:
msg: "{{ item }}"
loop:
- ansible_os_family = {{ ansible_os_family }}
- ansible_distribution == {{ ansible_distribution }}
- ansible_distribution_major_version == {{ ansible_distribution_major_version }}
- ansible_facts.kernel = {{ ansible_facts["kernel"] }}
- ansible_facts.system_vendor = {{ ansible_facts["system_vendor"] }}
- ansible_facts.virtualization_role = {{ ansible_facts["virtualization_role"] }}
tags:
- always
roles:
- role: preinstall
- role: ubuntu_core
- role: direnv
# - role: go
- role: gocloc
- role: lazygit
- role: nvim
tags:
- nvim
- role: python
- role: sdk
- role: starship
- role: nerd_fonts
vars:
nerd_fonts_fonts:
- "ComicShannsMono"
- "JetBrainsMono"
# - "ComicShannsMono"
# - "RobotoMono"
# - "Noto"
# - "Iosevka"
tags:
- fonts
- role: delta
# - role: hugo
- role: hyperfine
# - role: pandoc
- role: vivid
- role: base16
vars:
base16_themes:
- "base16-cupertino"
- "base16-emil"
- "base16-equilibrium-gray-light"
- "base16-gruvbox-light-soft"
- "base16-monokai"
- "base16-one-light"
- "base16-onedark"
- "base16-solarized-dark"
- "base16-solarized-light"
- "base16-tokyo-night-light"
# base16_theme: "base16-tokyo-night-light"
base16_theme: "base16-equilibrium-gray-light"
# base16_theme: "papercolor-light"
tags:
- base16
- role: nvm
# - role: plan9
tasks:
# - name: Install optional packages for host machine
# become: true
# ansible.builtin.apt:
# name:
# - pandoc
# when: '"WSL" not in ansible_facts["kernel"]'
- name: Install optional packages for guest machine
ansible.builtin.import_role:
name: ubuntu_vbox
when: '"WSL" not in ansible_facts["kernel"]'
# - name: Install wez
# ansible.builtin.import_role:
# name: wez
# when: >
# "WSL" not in ansible_facts["kernel"] or integration_testing