2022-09-04 17:25:14 +02:00
|
|
|
---
|
2022-08-30 10:00:27 +02:00
|
|
|
all:
|
|
|
|
hosts:
|
2022-08-30 17:27:09 +02:00
|
|
|
|
2022-10-18 12:05:45 +02:00
|
|
|
pikvm:
|
|
|
|
ansible_host: pikvm
|
|
|
|
ansible_user: ansible
|
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
ansible_become_method: doas
|
2022-10-18 18:16:13 +02:00
|
|
|
dags:
|
|
|
|
- acme_rsync
|
2022-10-18 12:05:45 +02:00
|
|
|
|
2023-01-25 17:01:36 +01:00
|
|
|
nut_mode: netclient
|
|
|
|
|
|
|
|
nut_upsmon_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
313636333565356536333862386361393439666563353938343934623532366
|
|
|
|
433363738623862623035663138643532346330346339376437353563633365
|
|
|
|
320a33356464656230316565376339333331373832643631366562666331333
|
|
|
|
137386235666437663766313833616135303339643539353931313966623638
|
|
|
|
3962360a3131383461393435633363366437663535306430343631313935343
|
|
|
|
465343465343038383961306132653066643933646237313234326435663834
|
|
|
|
3865663534
|
|
|
|
|
|
|
|
nut_device:
|
|
|
|
name: "cps-homelab"
|
|
|
|
|
|
|
|
nut_host: "nut.monotremata.xyz"
|
|
|
|
|
2022-08-30 10:09:52 +02:00
|
|
|
snitch:
|
|
|
|
ansible_host: snitch
|
2022-08-30 14:18:17 +02:00
|
|
|
ansible_user: ansible
|
2022-08-30 10:09:52 +02:00
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
2022-09-06 10:52:10 +02:00
|
|
|
ansible_become_method: doas
|
2022-10-19 17:58:20 +02:00
|
|
|
alpine_mode: diskless
|
2023-01-03 15:10:12 +01:00
|
|
|
alpine_version: v3.17
|
2022-09-20 13:51:20 +02:00
|
|
|
alpine_repos:
|
|
|
|
- main
|
|
|
|
|
2023-06-04 20:06:58 +02:00
|
|
|
kitchen:
|
|
|
|
ansible_host: kitchen
|
|
|
|
ansible_user: ansible
|
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
ansible_become_method: doas
|
|
|
|
alpine_mode: diskless
|
|
|
|
alpine_version: v3.18
|
|
|
|
alpine_repos:
|
|
|
|
- main
|
2023-06-04 20:17:58 +02:00
|
|
|
- community
|
2023-06-04 20:06:58 +02:00
|
|
|
lbu_media: mmcblk0p2
|
2023-06-04 20:17:58 +02:00
|
|
|
apk_cache_dir: /media/mmcblk0p2/cache
|
2023-06-04 20:06:58 +02:00
|
|
|
mounts:
|
|
|
|
- src: "/dev/mmcblk0p1"
|
|
|
|
path: "/media/mmcblk0p1"
|
|
|
|
fstype: "vfat"
|
|
|
|
opts: "noauto,ro"
|
|
|
|
passno: "0"
|
|
|
|
- src: "/dev/mmcblk0p2"
|
|
|
|
path: "/media/mmcblk0p2"
|
|
|
|
fstype: "ext4"
|
|
|
|
opts: "noauto,ro"
|
|
|
|
passno: "0"
|
|
|
|
|
2022-09-20 13:51:20 +02:00
|
|
|
suricata:
|
|
|
|
ansible_host: suricata
|
|
|
|
ansible_user: ansible
|
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
|
|
|
ansible_become_method: doas
|
2022-10-19 17:58:20 +02:00
|
|
|
alpine_mode: data
|
2022-12-21 17:30:34 +01:00
|
|
|
alpine_version: v3.17
|
2022-09-20 13:51:20 +02:00
|
|
|
alpine_repos:
|
|
|
|
- main
|
|
|
|
- community
|
2022-10-19 17:58:20 +02:00
|
|
|
|
2022-10-31 17:08:27 +01:00
|
|
|
lbu_encrypt: true
|
|
|
|
lbu_media: mmcblk0p2
|
|
|
|
|
2023-01-03 16:57:57 +01:00
|
|
|
apk_cache_dir: /media/mmcblk0p2/cache
|
|
|
|
|
2022-11-02 13:29:32 +01:00
|
|
|
k3s_args:
|
|
|
|
- --secrets-encryption
|
|
|
|
|
2022-10-19 17:58:20 +02:00
|
|
|
dmcrypt_targets:
|
|
|
|
- name: "WDC WDS400T1R0A"
|
|
|
|
target: "disk0"
|
|
|
|
source_uuid: "202c924c-ee53-4321-9efd-1f776e939702"
|
2022-10-31 16:43:57 +01:00
|
|
|
key: "/etc/dmcrypt/key.bin"
|
2022-10-19 18:28:50 +02:00
|
|
|
options: "--allow-discards"
|
2022-10-19 17:58:20 +02:00
|
|
|
- name: "Samsung SSD 870"
|
|
|
|
target: "disk1"
|
|
|
|
source_uuid: "247ea237-54ce-45d2-9974-04344c06aba4"
|
2022-10-31 16:43:57 +01:00
|
|
|
key: "/etc/dmcrypt/key.bin"
|
2022-10-19 18:28:50 +02:00
|
|
|
options: "--allow-discards"
|
2022-10-19 17:58:20 +02:00
|
|
|
|
2022-09-20 13:51:20 +02:00
|
|
|
mounts:
|
2022-10-19 17:58:20 +02:00
|
|
|
|
|
|
|
- src: "/dev/mmcblk0p1"
|
|
|
|
path: "/media/mmcblk0p1"
|
2022-09-20 13:51:20 +02:00
|
|
|
fstype: "vfat"
|
2023-01-10 10:57:01 +01:00
|
|
|
opts: "noauto,defaults,ro"
|
2022-09-20 13:51:20 +02:00
|
|
|
passno: "0"
|
2022-10-19 17:58:20 +02:00
|
|
|
|
|
|
|
- src: "/media/mmcblk0p1/boot"
|
|
|
|
path: "/boot"
|
2022-10-03 18:30:24 +02:00
|
|
|
fstype: "none"
|
|
|
|
opts: "defaults,bind"
|
|
|
|
passno: "0"
|
2022-10-19 17:58:20 +02:00
|
|
|
|
|
|
|
- src: "/dev/mmcblk0p2"
|
|
|
|
path: "/media/mmcblk0p2"
|
2022-09-20 13:51:20 +02:00
|
|
|
fstype: "ext4"
|
2023-01-10 10:57:01 +01:00
|
|
|
opts: "defaults,ro"
|
2022-09-20 13:51:20 +02:00
|
|
|
passno: "0"
|
2022-10-19 17:58:20 +02:00
|
|
|
|
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/mnt/btr_pool"
|
2022-10-19 15:29:16 +02:00
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvolid=5,noatime,compress=zstd"
|
2022-10-19 15:29:16 +02:00
|
|
|
passno: "0"
|
|
|
|
|
2022-11-04 16:16:08 +01:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/mnt/btr_backup"
|
|
|
|
fstype: "btrfs"
|
|
|
|
opts: "subvol=btr_backup,noatime,compress=zstd"
|
|
|
|
passno: "0"
|
|
|
|
|
2022-10-19 17:58:20 +02:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/var/log"
|
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=logs,noatime,compress=zstd"
|
2022-10-19 17:58:20 +02:00
|
|
|
passno: "0"
|
|
|
|
|
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/home"
|
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=home,noatime,compress=zstd"
|
2022-10-19 17:58:20 +02:00
|
|
|
passno: "0"
|
|
|
|
|
2023-01-03 18:26:16 +01:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/mnt/backups"
|
|
|
|
fstype: "btrfs"
|
|
|
|
opts: "subvol=backups,noatime,compress=zstd"
|
|
|
|
passno: "0"
|
|
|
|
|
2022-10-30 16:46:05 +01:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/opt"
|
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=opt,noatime,compress=zstd"
|
2022-10-30 16:46:05 +01:00
|
|
|
passno: "0"
|
|
|
|
|
2022-10-19 17:58:20 +02:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/var/lib/builder/src"
|
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=src,noatime,compress=zstd"
|
2022-10-19 17:58:20 +02:00
|
|
|
passno: "0"
|
|
|
|
|
2022-10-30 15:54:15 +01:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/etc/rancher"
|
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=rancher_config,noatime,compress=zstd"
|
2022-10-30 15:54:15 +01:00
|
|
|
passno: "0"
|
|
|
|
|
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/var/lib/rancher"
|
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=rancher_data,noatime,compress=zstd"
|
2022-10-30 15:54:15 +01:00
|
|
|
passno: "0"
|
|
|
|
|
|
|
|
- src: "/dev/mapper/disk0"
|
2022-10-30 16:32:32 +01:00
|
|
|
path: "/var/lib/containers"
|
2022-10-30 15:54:15 +01:00
|
|
|
fstype: "btrfs"
|
2022-11-04 11:33:58 +01:00
|
|
|
opts: "subvol=containers,noatime,compress=zstd"
|
2022-10-30 15:54:15 +01:00
|
|
|
passno: "0"
|
|
|
|
|
2023-01-10 11:03:02 +01:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/mnt/certs"
|
|
|
|
fstype: "btrfs"
|
|
|
|
opts: "subvol=certs,noatime,compress=zstd"
|
|
|
|
passno: "0"
|
|
|
|
|
2023-01-27 11:52:15 +01:00
|
|
|
- src: "/dev/mapper/disk0"
|
|
|
|
path: "/srv/configs"
|
|
|
|
fstype: "btrfs"
|
|
|
|
opts: "subvol=configs,noatime,compress=zstd"
|
|
|
|
passno: "0"
|
|
|
|
|
2023-01-11 11:55:10 +01:00
|
|
|
- src: "/mnt/certs/acme"
|
|
|
|
path: "/srv/nfs/k8s/acme"
|
|
|
|
fstype: "none"
|
|
|
|
opts: "bind"
|
|
|
|
passno: "0"
|
|
|
|
|
|
|
|
nfs_exports:
|
|
|
|
- path: "/srv/nfs"
|
|
|
|
hosts:
|
|
|
|
- hostname: localhost
|
|
|
|
options:
|
|
|
|
- ro
|
|
|
|
- all_squash
|
|
|
|
- no_subtree_check
|
|
|
|
- fsid=0
|
|
|
|
|
|
|
|
- path: "/srv/nfs/k8s"
|
|
|
|
hosts:
|
|
|
|
- hostname: localhost
|
|
|
|
options:
|
|
|
|
- rw
|
|
|
|
- no_root_squash
|
|
|
|
- no_subtree_check
|
|
|
|
- sync
|
|
|
|
- crossmnt
|
|
|
|
|
2022-09-20 15:02:53 +02:00
|
|
|
rpi_cfg:
|
|
|
|
- "enable_uart=1"
|
|
|
|
- "otg_mode=1"
|
2023-01-03 15:52:22 +01:00
|
|
|
- "hdmi_group=2"
|
|
|
|
- "hdmi_mode=4"
|
2022-08-30 17:27:09 +02:00
|
|
|
|
2023-01-25 10:53:02 +01:00
|
|
|
nut_device:
|
2023-01-25 15:55:20 +01:00
|
|
|
name: "cps-homelab"
|
2023-01-25 10:53:02 +01:00
|
|
|
config:
|
|
|
|
driver: "usbhid-ups"
|
|
|
|
port: "auto"
|
|
|
|
vendorid: "0764"
|
|
|
|
productid: "0601"
|
|
|
|
product: "OR1500ERM1U"
|
|
|
|
serial: "GBULZ2000030"
|
|
|
|
vendor: "CPS"
|
|
|
|
bus: "001"
|
2023-04-10 21:25:17 +02:00
|
|
|
pollinterval: 15
|
2023-01-25 10:53:02 +01:00
|
|
|
|
|
|
|
nut_mode: netserver
|
|
|
|
nut_admin_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
396261663339336265643530373931633034326338386337363539663634663
|
|
|
|
438626465393132386134383935623061666134646130353138333561326665
|
|
|
|
330a62346364313562303633643663303430376664356461666166373232316
|
|
|
|
465653633323235653833303463366330376136356234633339396532643938
|
|
|
|
3634300a6165363061623264306339303366313365316636383631366262336
|
|
|
|
564313139303133343633353034613661633639633563356466363865643533
|
|
|
|
3937323163
|
|
|
|
nut_upsmon_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
313636333565356536333862386361393439666563353938343934623532366
|
|
|
|
433363738623862623035663138643532346330346339376437353563633365
|
|
|
|
320a33356464656230316565376339333331373832643631366562666331333
|
|
|
|
137386235666437663766313833616135303339643539353931313966623638
|
|
|
|
3962360a3131383461393435633363366437663535306430343631313935343
|
|
|
|
465343465343038383961306132653066643933646237313234326435663834
|
|
|
|
3865663534
|
|
|
|
|
2023-01-25 15:55:20 +01:00
|
|
|
nut_host: localhost
|
|
|
|
|
2023-05-09 09:58:28 +02:00
|
|
|
notifiers:
|
|
|
|
xmpp:
|
|
|
|
recipient: rilla@monotremata.xyz
|
|
|
|
account: suricata@monotremata.xyz
|
|
|
|
password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
3261336330303763383735646465326463333964383234653835396462383731623
|
|
|
|
63763386365653437396163656530626533633463613966303235616565330a6237
|
|
|
|
3535653731333366313438343465663034303433623132386364643338613732383
|
|
|
|
9326661316435336539306232633536356330376337663065636265660a61643830
|
|
|
|
3335633538613337616232306233633039333364373538373036623139666263383
|
|
|
|
06538636233643362383335653135333439353131336535353862
|
|
|
|
|
|
|
|
gotify:
|
|
|
|
url: https://gotify.monotremata.xyz
|
|
|
|
token: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
3539643562356634616361643264623533643664303862613264316439343036323
|
|
|
|
93033306538353661343861313866613434633637653434336532613361310a6161
|
|
|
|
6563343236303135616335346364643763343533653331316166653937353965643
|
|
|
|
9383135393631366336383361373333396536343362626561613435310a34313261
|
|
|
|
38613264353832396362653036313531356261613833393965353664
|
|
|
|
|
2022-08-30 17:27:09 +02:00
|
|
|
caladan:
|
|
|
|
ansible_host: caladan
|
2022-08-30 18:26:16 +02:00
|
|
|
ansible_user: ansible
|
2022-08-30 17:27:09 +02:00
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
2022-09-06 10:52:10 +02:00
|
|
|
ansible_become_method: doas
|
2022-10-19 17:58:20 +02:00
|
|
|
alpine_mode: system
|
2023-01-03 15:10:12 +01:00
|
|
|
alpine_version: v3.17
|
2022-09-20 13:51:20 +02:00
|
|
|
alpine_repos:
|
|
|
|
- main
|
|
|
|
- community
|
2022-09-04 16:52:37 +02:00
|
|
|
|
|
|
|
narwhal:
|
|
|
|
ansible_host: narwhal
|
|
|
|
ansible_user: ansible
|
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/bin/python3
|
2022-09-22 11:19:46 +02:00
|
|
|
ansible_become_method: doas
|
2022-09-04 17:47:06 +02:00
|
|
|
|
2023-01-25 15:55:20 +01:00
|
|
|
nut_mode: netclient
|
|
|
|
|
|
|
|
nut_upsmon_password: !vault |
|
|
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
|
|
313636333565356536333862386361393439666563353938343934623532366
|
|
|
|
433363738623862623035663138643532346330346339376437353563633365
|
|
|
|
320a33356464656230316565376339333331373832643631366562666331333
|
|
|
|
137386235666437663766313833616135303339643539353931313966623638
|
|
|
|
3962360a3131383461393435633363366437663535306430343631313935343
|
|
|
|
465343465343038383961306132653066643933646237313234326435663834
|
|
|
|
3865663534
|
|
|
|
|
|
|
|
nut_device:
|
|
|
|
name: "cps-homelab"
|
|
|
|
|
|
|
|
nut_host: "nut.monotremata.xyz"
|
|
|
|
|
2022-09-04 17:47:06 +02:00
|
|
|
fugu:
|
|
|
|
ansible_host: fugu
|
|
|
|
ansible_user: ansible
|
|
|
|
ansible_port: 22
|
|
|
|
ansible_python_interpreter: /usr/local/bin/python3
|
2022-09-06 10:52:10 +02:00
|
|
|
ansible_become_method: doas
|