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
|
|
|
|
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
|
|
|
|
|
|
|
|
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-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
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
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
|