prole/infrastructure/roles/k3s/defaults/main.yml
chrisfu e69b5f2008 ansible: replace no_swap role with swap role and enhance K3s setup
- Removed the `no_swap` role and replaced it with the new `swap` role for managing swap configurations.
- Updated the K3s role to dynamically detect the first available wired interface IP and validate it.
- Enhanced K3s installation by adding support for disabling SELinux RPM.
- Adjusted inventory and `site.yml` to align with the updated roles.
- Added `.vault_pass` to `.gitignore`.
- Updated Ansible configuration with result format compatibility for different versions.
2026-01-21 16:16:14 -08:00

11 lines
363 B
YAML

---
k3s_version: v1.31.4+k3s1
# The wired network is likely 10.0.0.0/24 based on network_prompt.txt
# We will use the IP address of the node on the interface that has an address in this range.
# Or we can just bind to the default gateway interface if it's the wired one.
# Usually on Pi, eth0 is wired.
k3s_wired_interfaces:
- eth0
- enxb827eb883a41
- end0