summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-equinox-ws.yml
blob: 4ead92823764652cb80e4c31e0ceb301422f9336 (plain) (blame)
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
---
ubuntu_autoinstall_locale: de_AT
ubuntu_autoinstall_keyboard_layout: de
ubuntu_autoinstall_keyboard_variant: nodeadkeys
ubuntu_autoinstall_timezone: Europe/Vienna

ubuntu_autoinstall_desktop: xubuntu
ubuntu_autoinstall_manual_partitioning: yes
###
# mark disk as bootable (EFI System Partition gets created)
# edit ESP -> size 128M
# add new GPT Part, whole disk, unformatted -> create new LVM: name ws
# add new LV, root, 80G, ext4, /
# add new LV, storage, 1T, unformatted


install:
  efi: yes
  disks:
    primary: /dev/disk/by-id/nvme-Samsung_SSD_990_PRO_2TB_S6Z2NF0W501712E
  kernel_cmdline:
  - quiet
  - splash

network:
  nameservers: "{{ network_zones.lan.dns }}"
  domain: "{{ host_domain }}"
  primary: &_network_primary_
    name: enp9s0
    address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
    gateway: "{{ network_zones.lan.gateway }}"
  interfaces:
  - *_network_primary_
  - name: enp4s0
    address: "{{ network_zones.mgmt.prefix | ansible.utils.ipaddr(network_zones.mgmt.offsets[inventory_hostname]) }}"


base_modules_blacklist: "{{ base_modules_blacklist_none }}"

sshd_password_auth: yes
ssh_keys_root_extra:
  - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBjZEFZLrl2KIqYl/GU8Vkp7mlhAbFbjwf4Ht9zQRmI8 ZFS Backup syncoid@epimetheus

zsh_banner: equinox

admin_users_host:
  - equinox

apt_repo_components:
  - main
  - restricted
  - universe
  - multiverse

spreadspace_apt_repo_components:
  - main
  - container

wakeonlan_interfaces:
  - enp4s0

zfs_arc_size:
  min: 512M
  max: 2G

zfs_pools:
  storage:
    mountpoint: /srv/storage
    create_vdevs: /dev/mapper/ws-storage
    properties:
      ashift: 12
      autotrim: "on"

zfs_sanoid_modules:
  storage:
    use_template: production
    recursive: yes
    process_children_only: yes


ws_base_home_zfs:
  pool: storage
  name: home
  properties:
    xattr: sa
    compression: lz4
    quota: 800G

ws_base_extra_packages:
  - aisleriot
  - atftp
  - asciidoc
  - autoconf
  - automake
  - avr-libc
  - avrdude
  - binfmt-support
  - binutils-avr
  - binwalk
  - bison
  - build-essential
  - cargo
  - ccache
  - cheese
  - clang
  - clinfo
  - cmake
  - cpu-x
  - cura
  - ddrescueview
  - debhelper
  - debmake
  - dia
  - dh-lua
  - dh-make
  - dh-python
  - devscripts
  - dfu-programmer
  - docker.io
  - docker-buildx
  - dos2unix
  - doxygen
  - easytag
  - elpa-debian-el
  - elpa-go-mode
  - elpa-lua-mode
  - elpa-php-mode
  - elpa-rust-mode
  - elpa-web-mode
  - elpa-yaml-mode
  - emacs
  - esptool
  - etherwake
  - filezilla
  - flac
  - fldigi
  - flex
  - freerdp2-x11
  - fzf
  - gcc-avr
  - gddrescue
  - gdebi
  - gerbv
  - ghex
  - gir1.2-spiceclientgtk-3.0
  - git
  - git-lfs
  - git-remote-gcrypt
  - gitk
  - gnome-games
  - gnome-mahjongg
  - gpredict
  - gpsd-clients
  - gputils
  - graphviz
  - gstreamer1.0-vaapi
  - guvcview
  - gvncviewer
  - inkscape
  - ipcalc
  - iperf
  - iperf3
  - iputils-arping
  - ipython3
  - jq
  - kdenlive
  - keepassx
  - kpartx
  - libdbd-mysql-perl
  - libgpgme11
  - libncurses5
  - libusb-dev
  - libusb-1.0-0-dev
  - libvirt-clients
  - libvirt-daemon-system
  - libxcb-composite0
  - libxcb-cursor0
  - libxcb-damage0
  - lmodern
  - make
  - manpages-dev
  - mbr
  - meld
  - meson
  - mingw-w64
  - mono-devel
  - mosh
  - msmtp-mta
  - mumble
  - nfs-common
  - nmap
  - ntpdate
  - nyx
  - openocd
  - openscad
  - ovmf
  - pandoc
  - parcimonie
  - patchutils
  - pdftk-java
  - pidgin-plugin-pack
  - pigz
  - pinentry-curses
  - pitivi
  - playonlinux
  - pm-utils
  - powertop
  - ppa-purge
  - pristine-tar
  - privoxy
  - pulseview
  - pv
  - pwgen
  - python3-autopep8
  - python3-impacket
  - python3-netaddr
  - python3-pandas
  - python3-passlib
  - python3-pip
  - python3-plotly
  - python3-pyside2.qtwebchannel
  - python3-pyside2.qtwebengine
  - python3-pyside2.qtwebenginewidgets
  - python3-ruamel.yaml
  - python3-sphinx
  - python3-sphinx-rtd-theme
  - python3-toml
  - python3-xopen
  - qemu
  - qemu-kvm
  - qemu-system-gui
  - qemu-user-static
  - qemu-utils
  - quilt
  - radeontop
  - ragel
  - rdesktop
  - rhythmbox
  - rhythmbox-plugins
  - rkhunter
  - rtmpdump
  - rustc
  - s-tui
  - scala-mode-el
  - scons
  - sdcc
  - signify-openbsd
  - signing-party
  - sigrok-cli
  - skopeo
  - socat
  - spice-client-gtk
  - sqlite3
  - sshfs
  - steam
  - stlink-tools
  - stm32flash
  - stress
  - stun-client
  - subversion
  - swaks
  - syslinux
  - syslinux-common
  - syslinux-efi
  - texlive
  - texlive-lang-german
  - texlive-latex-extra
  - torbrowser-launcher
  - totem
  - unrar
  - vainfo
  - valgrind
  - virtualbox
  - virtualbox-dkms
  #- virtualbox-ext-pack
  - virtualbox-qt
  - virt-manager
  - vorbis-tools
  - wakeonlan
  - whois
  - wine
  - wine32
  - wine64
  - winetricks
  - wireshark
  - x264
  - xclip
  - xdg-desktop-portal-gtk
  - xfce4-goodies
  - xorriso
  - xul-ext-lightning
  - yamllint
  - yasm
  # needs apt-repo/spreadspace
  - go
  - info-beamer
  #- helm         ## TODO: not yet in repo for jammy
  - k9s
  - kubeletctl
  - grype
  # needs apt-repo/ansible
  - ansible
  # needs apt-repo/tor-project
  - tor
  - tor-geoipdb
  # needs apt-repo/kubernetes
  - kubectl
  # needs apt-repo/element
  - element-desktop

kubernetes_version: "1.30"


ws_base_xrandr_setup_script: |
  #!/bin/bash

  xrandr --output DisplayPort-1 --mode 2560x1440 --rotate left --pos 0x0
  xrandr --output DisplayPort-0 --mode 3840x2160 --primary --pos 1440x200
  xrandr --output DisplayPort-2 --mode 2560x1440 --rotate left --pos 5280x0
  xrandr --output HDMI-A-0 --mode 3840x2160 --same-as DisplayPort-0 && true

  exit 0


ws_flatpak_apps:
  - name: org.tenacityaudio.Tenacity
    shortcuts:
    - name: tenacity
  - name: org.audacityteam.Audacity
    shortcuts:
    - name: audacity
  - name: org.pipewire.Helvum
    shortcuts:
    - name: helvum
  - name: org.localsend.localsend_app
    shortcuts:
    - name: localsend
  - name: com.st.STM32CubeIDE
  - name: org.freecadweb.FreeCAD
    shortcuts:
    - name: freecad
    - name: freecadcmd
      command: FreeCADCmd
  - name: org.kicad.KiCad
    shortcuts:
    - name: kicad