k3s-ansible/roles
Timothy Stewart 9fa13d4b2e feat(metallb): add option to limit MetalLB layer2 announcements to specific interfaces
- roles/k3s_server_post/templates/metallb.crs.j2: render spec.interfaces in the
  L2Advertisement when metal_lb_interfaces is a non-empty list, so MetalLB only
  announces on the configured interfaces. Empty list (default) keeps announcing
  on all interfaces, preserving existing behavior.
- roles/k3s_server_post/defaults/main.yml: add metal_lb_interfaces: [] default
- roles/k3s_server_post/meta/main.yml: add metal_lb_interfaces argument_spec
- inventory/sample/group_vars/all.yml: document the new sample variable
- .github/scripts/test-metallb-interfaces.py: regression test rendering the
  template for empty/single/multiple interfaces and confirming the BGP path is
  unaffected
- .pre-commit-config.yaml: wire the new test into pre-commit

Co-authored-by: Leo <leo@kuboschek.me>
2026-08-05 00:08:18 -05:00
..
download fix(ci): harden Molecule download and cleanup 2026-08-01 12:27:12 -05:00
k3s/node/defaults Replace hardcoded 'master' group name with 'group_name_master' variable (#337) 2023-07-21 16:37:57 -05:00
k3s_agent fix(token): escape percent signs used in k3s token (#682) 2026-08-02 19:27:17 +00:00
k3s_custom_registries Change to FQCN with ansible-lint fixer (#553) 2024-08-12 22:59:59 -05:00
k3s_server chore(deps): apply dependency updates in one combined change (#694) 2026-08-04 17:54:58 -05:00
k3s_server_post feat(metallb): add option to limit MetalLB layer2 announcements to specific interfaces 2026-08-05 00:08:18 -05:00
lxc Variable documentation (#606) 2024-11-06 10:27:19 -06:00
prereq fix(prereq): install kernel-modules-extra when br_netfilter is missing (#684) 2026-08-03 14:55:07 +00:00
proxmox_lxc Variable documentation (#606) 2024-11-06 10:27:19 -06:00
raspberrypi Variable documentation (#606) 2024-11-06 10:27:19 -06:00
reset Change to FQCN with ansible-lint fixer (#553) 2024-08-12 22:59:59 -05:00
reset_proxmox_lxc Variable documentation (#606) 2024-11-06 10:27:19 -06:00