OpenTofu libvirt module (k3s-dev NAT 10.73.0.0/24, 3x 6GiB/4vCPU VMs, 20G OS +
40G thin data, host-passthrough), cloud-init baseline (k3s/Cilium/Longhorn
prereqs, static net), Ansible k3s-HA + Cilium (kube-proxy replacement, Gateway
API, Hubble; flannel/kube-proxy/Traefik disabled). PM fix: escape ${...} in a
cloud-init template comment (tofu templatefile parse). tofu fmt/init/validate =
Success; ansible --syntax-check + yamllint pass. NOTHING executed (no apply).
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
16 lines
586 B
YAML
16 lines
586 B
YAML
---
|
|
# Full dev/test cluster bring-up, in order (docs/02 sequencing; run AFTER
|
|
# `tofu apply` has created and cloud-init has baselined the VMs):
|
|
# k3s HA install -> Cilium CNI -> verify readiness -> Flux + SOPS hand-off.
|
|
- name: Import - install k3s HA control plane
|
|
ansible.builtin.import_playbook: k3s.yml
|
|
|
|
- name: Import - install Cilium CNI
|
|
ansible.builtin.import_playbook: cilium.yml
|
|
|
|
- name: Import - verify cluster readiness
|
|
ansible.builtin.import_playbook: verify.yml
|
|
|
|
- name: Import - Flux + SOPS bootstrap hand-off
|
|
ansible.builtin.import_playbook: flux-bootstrap.yml
|