aboutsummaryrefslogtreecommitdiff
path: root/group_vars/all
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2023-06-25 09:52:36 -0400
committerSam Chudnick <sam@chudnick.com>2023-06-25 09:52:36 -0400
commit95b73daa36b23565a8566f71f9b202d3459b685f (patch)
treecb17b021be70e7868d0ec235a761f0ecdc80f3f2 /group_vars/all
Initial CommitHEADmaster
Diffstat (limited to 'group_vars/all')
-rw-r--r--group_vars/all/vars.yml570
1 files changed, 570 insertions, 0 deletions
diff --git a/group_vars/all/vars.yml b/group_vars/all/vars.yml
new file mode 100644
index 0000000..7e37fc4
--- /dev/null
+++ b/group_vars/all/vars.yml
@@ -0,0 +1,570 @@
1# Homelab IaC Global Variables File
2
3# Variables are all kept here to avoid having them scattered
4# throughout the various roles
5
6#####################
7# #
8# Infrastructure #
9# #
10#####################
11
12timezone: America/New_York
13domain: "home.local"
14
15# proxmox system
16proxmox_api_user: "vmadmin@pam"
17proxmox_username: vmadmin
18ssh_public_key: data/common/id_rsa.pub
19
20# vm deploy
21vm_vlan: 20
22vm_onboot: yes
23vm_agent: yes
24vm_bridge: vmbr0
25vm_full_clone: yes
26template_id: 1000
27memory_size: 512
28cpu_cores: 1
29cpu_sockets: 1
30bios_type: seabios
31
32# cloud init vars
33ci_target_dir: "/home/vmadmin"
34ci_memory_size: 512
35ci_base_id: 1000
36ci_disk_size: "10G"
37ci_storage: "fast-pool"
38ci_user: "admin"
39ci_debian_name: "debiantest"
40ci_bridge: "vmbr0"
41ci_vlan: 20
42ci_sshkey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCxbdj9XqeorxBqfhWaJp8JonsIhD0g6qSYRdBKqIyHARglr+mG0hjdeDg1TPxGUnuJUDmG1vC0gbSoaKyiPrwf3nbCfqVXT2k+aY4VepV4g4TLTTUVuTXiyVdd83sE5uiF7DDOfoYU34oZ0bHBjpJfuBHHYhipnZTdxdXhxUtDSmJ8kIz3F7NEiKA66U/4JYRolI5jYhIhdUGgEpxxWz+pCsrZIo9N+VkJfqvMoVs+GVOyUMLjmJDB+zBC28V7yaVtt3kQVl38hhYxOhDkrSdaV+PyyTatZxNVW1u9WcdVhCnyke1bmEIbjXBvSHC2MH6VKiXCCkA9YEjUNEYGbkYPfe3wiZMh7OQnMlTSs/cV6T5UUGbmcJQnsys1PR/szzDLAvFziK4q6TvvyzDXyBZPKoBT8SXjeRNWdhWIlsJA7Z8+GTxGr2Ow9WjDDHHU2gL8yWkZvMfGO6MUo6K4ItLW/H1HtasAcHBXjvRFiHiK2WAB55GRrMkwNU1TLRmNvmT27blbe/+c52EySs8FLNlGEgW3/80YUnwEkOWZ2hRsbe8BnxRVr28wjwzWSc4RJP7AXMcn73J1hBZ6mvrQK5V0pneLXXpjdebflwwVc1mAVoFXt8w5etGHn+bx5kKINlzXW1h7PPg/7kexqX7bVYRjcyI0Ot5/rsCikKuyAqDVhQ== picard@titan"
43ssh_key_local: data/common/id_rsa.pub
44ssh_key_dest: "/home/{{ci_user}}/ci_sshkey"
45nameserver: 192.168.20.1
46
47# proxmox backup server
48pbs_admin: "backupadmin@pbs"
49pbs_user: "backup@pbs"
50#pbs_host: "proxmox.home.local"
51pbs_host: "192.168.10.11"
52pbs_datastore: "onsite"
53pbs_datastore_path: "/mnt/backup/onsite"
54pbs_keep_last: "3"
55pbs_keep_daily: "13"
56pbs_keep_weekly: "8"
57pbs_keep_monthly: "11"
58pbs_keep_yearly: "4"
59pbs_fingerprint: "90:39:30:90:e9:11:7b:48:3f:88:a6:78:8d:62:c1:e4:c2:7a:ac:29:44:f7:88:5b:1e:25:f4:f7:b4:69:58:ac"
60
61
62# distro base
63base_packages:
64 - openssh-server
65 - ufw
66 - rsync
67 - htop
68 - vim
69 - sudo
70 - qemu-guest-agent
71 - git
72
73#####################
74# #
75# Services #
76# #
77#####################
78
79# common
80nginx_cert: data/common/fullchain.pem
81services_domain: chudnick.com
82oidc_issuer: "https://auth.chudnick.com"
83
84# chronyd
85chrony_config: data/chronyd/chrony.conf
86
87# msmtp_mta
88msmtp_mta_packages:
89 - msmtp
90 - msmtp-mta
91msmtp_mta_config: data/msmtp_mta/msmtprc
92
93# prometheus server
94prometheus_package: prometheus
95management_ip: 192.168.10.254
96grafana_server_ip: 192.168.20.32
97prometheus_port: '9090'
98prometheus_nginx_config: data/grafana/grafana.conf
99prometheus_config: data/prometheus-server/prometheus.yml
100prometheus_defaults: data/prometheus-server/defaults
101
102# prometheus node exporter
103node_exporter_debian_package: prometheus-node-exporter
104node_exporter_fedora_package: golang-github-prometheus-node-exporter
105prometheus_server_ip: 192.168.20.32
106node_exporter_port: '9100'
107
108# prometheus nginx exporter
109nginx_exporter_debian_package: prometheus-nginx-exporter
110nginx_exporter_fedora_package: golang-github-prometheus-nginx-exporter
111nginx_exporter_port: '9113'
112nginx_exporter_config: data/prometheus-nginx-exporter/metrics.conf
113nginx_exporter_defaults: data/prometheus-nginx-exporter/defaults
114
115# grafana
116grafana_package:
117 - grafana
118 - nginx
119grafana_config: data/grafana/grafana.ini.j2
120grafana_nginx_config: data/grafana/grafana.conf
121grafana_url: https://monitoring.chudnick.com/grafana
122grafana_admin: admin
123grafana_email: admin@home.local
124prometheus_url: https://monitoring.chudnick.com/prometheus
125influxdb_url: http://monitoring.home.local:8086
126influx_database: proxmox
127influx_user: readonly
128loki_url: http://monitoring.home.local:3100
129grafana_dashboard_main: data/grafana/main.json
130
131# loki
132loki_nginx_config: data/loki/loki.conf
133loki_config: data/loki/config.yml
134loki_repo: "https://github.com/grafana/loki"
135loki_version: "v2.7.1"
136
137# promtail
138promtail_config: data/promtail/config.yml
139
140# influxdb
141influxdb_packages:
142 - influxdb
143 - influxdb-client
144influx_config: data/influxdb/influxdb.conf
145influx_data: data/influxdb/influx_data/
146
147# pihole
148pihole_packages:
149 - git
150 - unbound
151 - dns-root-data
152 - lighttpd-mod-openssl
153pihole_setupvars: data/pihole/setupVars.conf
154pihole_unboundconf: data/pihole/pihole_unbound.conf
155
156# unattended upgrades
157unattended_upgrades_packages:
158 - unattended-upgrades
159 - powermgmt-base
160 - python3-gi
161uu_mail_to: sam@chudnick.com
162uu_mail_from: Unattended Upgrades <monitoring@chudnick.com>
163
164# ipaserver
165ipa_dns_ip: 192.168.20.34
166
167# ipaclient
168ipaclient_domain: home.local
169ipaclient_realm: HOME.LOCAL
170ipaclient_mkhomedir: yes
171ipaclient_servers: ipasrv.home.local
172ipaclient_ntp_servers: ntp.home.local
173
174# ipabackup
175ipabackup_name: ipa-full-2022-08-27-07-56-01
176ipabackup_from_controller: yes
177
178# game server
179sunshine_repo: https://github.com/LizardByte/Sunshine
180sunshine_version: v0.20.1
181sunshine_packages:
182 - build-essential
183 - cmake
184 - libavdevice-dev
185 - libboost-filesystem-dev
186 - libboost-log-dev
187 - libboost-program-options-dev
188 - libboost-thread-dev
189 - libcap-dev
190 - libcurl4-openssl-dev
191 - libdrm-dev
192 - libevdev-dev
193 - libmfx-dev
194 - libnuma-dev
195 - libopus-dev
196 - libpulse-dev
197 - libssl-dev
198 - libva-dev
199 - libvdpau-dev
200 - libwayland-dev
201 - libx11-dev
202 - libxcb-shm0-dev
203 - libxcb-xfixes0-dev
204 - libxcb1-dev
205 - libxfixes-dev
206 - libxrandr-dev
207 - libxtst-dev
208 - nodejs
209 - npm
210 - nvidia-cuda-dev
211 - nvidia-cuda-toolkit
212 - xz-utils
213
214game_server_packages:
215 - xorg
216 - task-xfce-desktop
217 - firmware-amd-graphics
218 - amd64-microcode
219 - xserver-xorg-video-all
220 - linux-headers-6.0.0-0.deb11.2-amd64
221 - nginx
222 - ssl-cert
223games_user: gamer
224game_server_nginx_config: data/game_server/sunshine_proxy.conf
225steam_packages:
226 - steam
227 - mesa-vulkan-drivers
228 - libglx-mesa0:i386
229 - mesa-vulkan-drivers:i386
230 - libgl1-mesa-dri:i386
231lightdm_config: data/game_server/lightdm.conf
232xfce_xinit: data/game_server/xinitrc
233
234# jenkins
235jenkins_nginx_config: data/jenkins/jenkins.conf
236jenkins_config: data/jenkins/configuration.yml.j2
237jenkins_packages:
238 - openjdk-11-jre-headless
239 - nginx
240 - git
241 - ansible
242 - jenkins
243 - python3-proxmoxer
244jenkins_username: 7238a8bf-8945-47bc-85c3-d0356ad3428e
245jenkins_url: "https://jenkins.chudnick.com"
246
247
248# docker rootless
249docker_packages:
250 - docker-ce
251 - docker-ce-cli
252 - docker-ce-rootless-extras
253 - docker-compose-plugin
254 - uidmap
255 - dbus-user-session
256 - slirp4netns
257 - fuse-overlayfs
258 - acl
259docker_username: docker_rootless
260docker_uid: "2000"
261docker_home: /srv/docker
262docker_registry_url: "gitea.chudnick.com"
263docker_registry_username: "sam"
264docker_config: data/docker/daemon.json
265
266#####################
267# #
268# Docker Containers #
269# #
270#####################
271
272# authelia
273authelia_repo: "https://github.com/authelia/authelia"
274authelia_version: "master"
275authelia_nginx_config: data/authelia/authelia.conf
276authelia_config: data/authelia/configuration.yml
277authelia_network_name: authelia_net
278authelia_subnet: 172.25.0.0/24
279authelia_gateway: 172.25.0.1
280authelia_ipv4: 172.25.0.2
281redis_authelia_ipv4: 172.25.0.3
282authelia_proxy_snippet: data/authelia/proxy.conf
283authelia_location_snippet: data/authelia/authelia-location.conf
284authelia_request_snippet: data/authelia/authelia-authrequest.conf
285
286# searxng
287searxng_repo: "https://github.com/searxng/searxng"
288searxng_config: data/searxng/settings.yml
289searxng_uwsgi_config: data/searxng/uwsgi.ini
290searxng_nginx_config: data/searxng/searxng.conf
291searxng_network_name: searxng_net
292searxng_subnet: 172.25.1.0/24
293searxng_gateway: 172.25.1.1
294searxng_ipv4: 172.25.1.2
295redis_searxng_ipv4: 172.25.1.3
296
297# pihole_exporter
298pihole_exporter_repo: "https://github.com/eko/pihole-exporter/"
299pihole_exporter_version: "v0.3.0"
300pihole_exporter_network_name: pihole_exporter_net
301pihole_exporter_subnet: 172.25.2.0/24
302pihole_exporter_gateway: 172.25.2.1
303pihole_ip: 192.168.20.34
304pihole_api_port: '9617'
305pihole_exporter_nginx_config: data/pihole-exporter/pihole-exporter.conf
306
307# drawio
308drawio_repo: "https://github.com/jgraph/docker-drawio"
309drawio_nginx_config: data/drawio/drawio.conf
310drawio_network_name: drawio_net
311drawio_subnet: 172.25.3.0/24
312drawio_gateway: 172.25.3.1
313drawio_ipv4: 172.25.3.2
314drawio_plantuml_ipv4: 172.25.3.3
315drawio_export_ipv4: 172.25.3.4
316drawio_base_url: drawio.home.local
317
318# jellyfin
319jellyfin_repo: "https://github.com/jellyfin/jellyfin"
320jellyfin_version: "v10.8.8"
321jellyfin_nginx_config: data/jellyfin/jellyfin.conf
322jellyfin_network_name: jellyfin_net
323jellyfin_subnet: 172.25.4.0/24
324jellyfin_gateway: 172.25.4.1
325jellyfin_ipv4: 172.25.4.2
326jellyfin_config: data/jellyfin/config
327jellyfin_web_config: data/jellyfin/web-config.json
328jellyfin_media: data/jellyfin/media
329jellyfin_url: https://jellyfin.chudnick.com
330
331# navidrome
332navidrome_repo: "https://github.com/navidrome/navidrome"
333navidrome_version: "v0.48.0"
334navidrome_nginx_config: data/navidrome/navidrome.conf
335navidrome_network_name: navidrome_net
336navidrome_subnet: 172.25.5.0/24
337navidrome_gateway: 172.25.5.1
338navidrome_ipv4: 172.25.5.2
339
340# radicale
341radicale_repo: "https://github.com/Kozea/Radicale"
342radicale_version: "v3.1.8"
343radicale_config: data/radicale/config
344radicale_users: data/radicale/users
345radicale_nginx_config: data/radicale/radicale.conf
346radicale_network_name: radicale_net
347radicale_subnet: 172.25.6.0/24
348radicale_gateway: 172.25.6.1
349radicale_ipv4: 172.25.6.2
350
351# freshrss
352freshrss_repo: "https://github.com/FreshRSS/FreshRSS"
353freshrss_version: "v1.20.2"
354freshrss_nginx_config: data/freshrss/freshrss.conf
355freshrss_network_name: freshrss_net
356freshrss_subnet: 172.25.7.0/24
357freshrss_gateway: 172.25.7.1
358freshrss_ipv4: 172.25.7.2
359
360# homer
361homer_repo: "https://github.com/bastienwirtz/homer"
362homer_version: "v22.11.2"
363homer_nginx_config: data/homer/homer.conf
364homer_network_name: homer_net
365homer_subnet: 172.25.9.0/24
366homer_gateway: 172.25.9.1
367homer_ipv4: 172.25.9.2
368homer_assets_dir: data/homer/
369
370# invidious
371invidious_repo: "https://github.com/iv-org/invidious"
372invidious_nginx_config: data/invidious/invidious.conf.j2
373invidious_network_name: invidious_net
374invidious_subnet: 172.25.10.0/24
375invidious_gateway: 172.25.10.1
376invidious_ipv4: 172.25.10.2
377invidious_db_ipv4: 172.25.10.3
378invidious_server_name: "invidious.chudnick.com"
379invidious_external_port: 8002
380 #invidious_username: sam
381 #invidious_version: "v0.3.0-remote_user"
382
383# gitea
384gitea_repo: "https://github.com/go-gitea/gitea"
385gitea_git_uid: "1100"
386gitea_version: "v1.17.3"
387gitea_nginx_config: data/gitea/gitea.conf
388gitea_config: data/gitea/app.ini
389gitea_network_name: gitea_net
390gitea_subnet: 172.25.11.0/24
391gitea_gateway: 172.25.11.1
392gitea_ipv4: 172.25.11.2
393gitea_external_port: 8003
394
395# cadvisor
396cadvisor_repo: "https://github.com/google/cadvisor"
397cadvisor_version: "v0.46.0"
398cadvisor_nginx_config: data/cadvisor/cadvisor.conf
399cadvisor_network_name: cadvisor_net
400cadvisor_subnet: 172.25.12.0/24
401cadvisor_gateway: 172.25.12.1
402cadvisor_ipv4: 172.25.12.2
403cadvisor_external_port: 8004
404
405# nextcloud
406nextcloud_version: "25.0.2"
407nextcloud_nginx_config: data/nextcloud/nextcloud.conf
408nextcloud_network_name: nextcloud_net
409nextcloud_subnet: 172.25.13.0/24
410nextcloud_gateway: 172.25.13.1
411nextcloud_ipv4: 172.25.13.2
412nextcloud_redis_ipv4: 172.25.13.3
413nextcloud_postgres_ipv4: 172.25.13.4
414nextcloud_cron_ipv4: 172.25.13.5
415nextcloud_external_port: 8005
416nextcloud_postgres_db: "nextcloud"
417nextcloud_postgres_user: "nextcloud"
418nextcloud_admin: "admin"
419nextcloud_trusted_domains: "nextcloud.chudnick.com"
420
421# renovate
422renovate_network_name: renovate_net
423renovate_subnet: 172.25.14.0/24
424renovate_gateway: 172.25.14.1
425renovate_ipv4: 172.25.14.2
426renovate_endpoint: "https://gitea.chudnick.com/api/v1/"
427renovate_author: "renovate[bot] <renovate@chudnick.com>"
428
429# photoprism
430photoprism_admin_user: "admin"
431photoprism_auth_mode: "password"
432photoprism_site_url: "https://photos.chudnick.com"
433photoprism_nginx_config: data/photoprism/photoprism.conf
434photoprism_network_name: photoprism_net
435photoprism_subnet: 172.25.15.0/24
436photoprism_gateway: 172.25.15.1
437photoprism_ipv4: 172.25.15.2
438photoprism_external_port: 8006
439
440# gluetun
441gluetun_network_name: gluetun_net
442gluetun_subnet: 172.25.16.0/24
443gluetun_gateway: 172.25.16.1
444gluetun_ipv4: 172.25.16.2
445
446# qbittorrent
447qbittorrent_nginx_config: data/qbittorrent/qbittorrent.conf.j2
448qbittorrent_external_port: "8007"
449qbittorrent_server_name: qbittorrent.chudnick.com
450
451# sonarr
452sonarr_nginx_config: data/sonarr/sonarr.conf.j2
453sonarr_external_port: 8008
454sonarr_server_name: sonarr.chudnick.com
455
456# radarr
457radarr_nginx_config: data/radarr/radarr.conf.j2
458radarr_external_port: 8009
459radarr_server_name: radarr.chudnick.com
460
461# lidarr
462lidarr_nginx_config: data/lidarr/lidarr.conf.j2
463lidarr_external_port: 8010
464lidarr_server_name: lidarr.chudnick.com
465
466# readarr
467readarr_nginx_config: data/readarr/readarr.conf.j2
468readarr_external_port: 8011
469readarr_server_name: readarr.chudnick.com
470
471# prowlarr
472prowlarr_nginx_config: data/prowlarr/prowlarr.conf.j2
473prowlarr_external_port: 8012
474prowlarr_server_name: prowlarr.chudnick.com
475
476# bookstack
477bookstack_nginx_config: data/bookstack/bookstack.conf.j2
478bookstack_network_name: bookstack_net
479bookstack_subnet: 172.25.17.0/24
480bookstack_gateway: 172.25.17.1
481bookstack_ipv4: 172.25.17.2
482bookstack_db_ipv4: 172.25.17.3
483bookstack_server_name: "wiki.chudnick.com"
484bookstack_external_port: 8013
485
486# pywttr-docker
487pywttr_docker_nginx_config: data/pywttr_docker/pywttr_docker.conf.j2
488pywttr_docker_network_name: pywttr_docker_net
489pywttr_docker_subnet: 172.25.18.0/24
490pywttr_docker_gateway: 172.25.18.1
491pywttr_docker_ipv4: 172.25.18.2
492pywttr_docker_db_ipv4: 172.25.18.3
493pywttr_docker_server_name: "weather.chudnick.com"
494pywttr_docker_external_port: 8014
495
496# text-generation-webui
497text_generation_nginx_config: data/text_generation/text_generation.conf.j2
498text_generation_network_name: text_generation_net
499text_generation_subnet: 172.25.19.0/24
500text_generation_gateway: 172.25.19.1
501text_generation_ipv4: 172.25.19.2
502text_generation_db_ipv4: 172.25.19.3
503text_generation_server_name: "gpt.chudnick.com"
504text_generation_external_port: 8015
505text_generation_api_port: 5005
506text_generation_api_stream_port: 5000
507
508# kanboard
509kanboard_config: data/kanboard/config.php
510kanboard_nginx_config: data/kanboard/kanboard.conf.j2
511kanboard_network_name: kanboard_net
512kanboard_subnet: 172.25.20.0/24
513kanboard_gateway: 172.25.20.1
514kanboard_ipv4: 172.25.20.2
515kanboard_db_ipv4: 172.25.20.3
516kanboard_server_name: "tasks.chudnick.com"
517kanboard_external_port: 8016
518
519# firefly
520firefly_nginx_config: data/firefly/firefly.conf.j2
521firefly_network_name: firefly_net
522firefly_subnet: 172.25.21.0/24
523firefly_gateway: 172.25.21.1
524firefly_ipv4: 172.25.21.2
525firefly_db_ipv4: 172.25.21.3
526firefly_cron_ipv4: 172.25.21.4
527firefly_server_name: "finances.chudnick.com"
528firefly_external_port: 8017
529firefly_postgres_db: "firefly"
530firefly_postgres_user: "firefly"
531firefly_importer_ipv4: 172.25.21.5
532firefly_importer_server_name: "finimporter.chudnick.com"
533firefly_importer_external_port: 8018
534
535# home_assistant
536home_assistant_config: data/home_assistant/configuration.yaml
537home_assistant_nginx_config: data/home_assistant/home_assistant.conf.j2
538home_assistant_network_name: home_assistant_net
539home_assistant_subnet: 172.25.22.0/24
540home_assistant_gateway: 172.25.22.1
541home_assistant_ipv4: 172.25.22.2
542home_assistant_server_name: "homeassistant.chudnick.com"
543home_assistant_external_port: 8019
544
545# vaultwarden
546vaultwarden_nginx_config: data/vaultwarden/vaultwarden.conf.j2
547vaultwarden_network_name: vaultwarden_net
548vaultwarden_subnet: 172.25.23.0/24
549vaultwarden_gateway: 172.25.23.1
550vaultwarden_ipv4: 172.25.23.2
551vaultwarden_server_name: "vaultwarden.chudnick.com"
552vaultwarden_external_port: 8020
553
554######################
555# #
556# Networking Devices #
557# #
558######################
559
560# router
561router_hostname: charon
562ntp_server_ip: 192.168.20.2
563router_ip: 192.168.10.1
564router_user: data
565local_interface: enp34s0
566network_config_file: /etc/network/interfaces
567
568# ap
569ap_hostname: sol
570ap_ip: 192.168.10.2