Skip to content

refactor!: remove AAP; add boot_disk_size; bundle opencode config#2

Merged
xnoto merged 5 commits intomainfrom
chore/add-opencode-config
Apr 29, 2026
Merged

refactor!: remove AAP; add boot_disk_size; bundle opencode config#2
xnoto merged 5 commits intomainfrom
chore/add-opencode-config

Conversation

@xnoto
Copy link
Copy Markdown
Contributor

@xnoto xnoto commented Apr 24, 2026

Summary

  • BREAKING: Removes the Ansible Automation Platform (AAP) integration entirely (provider, all aap_* resources/data, and the dead private_ip_addr / proxyhost variables that only fed the AAP host block). Callers configuring VMs via Ansible should now drive it from outside this module (e.g. cloud-init).
  • Adds a new boot_disk_size variable that sets libvirt_volume.boot.capacity in bytes so callers can grow the boot disk beyond the source image's natural size — needed for Talos's small nocloud qcow2.
  • Bundles the previously-staged repo-local opencode config (the prior commit on this branch).

Test plan

  • Pre-commit hooks pass (terraform_validate, tflint, terraform_fmt, terraform_docs, end-of-file-fixer all green locally; checkov has soft-fail and runs in CI's container)
  • CI make test passes
  • Caller (tfroot-libvirt) plans cleanly after AAP arguments are removed and the new k3s/talos modules are wired up

Migration notes

Any caller passing the following arguments must drop them:

enable_aap, aap_org_name, aap_inventory_name, aap_job_template_name, private_ip_addr, proxyhost

xnoto and others added 2 commits April 24, 2026 14:00
The Ansible Automation Platform integration (aap_organization,
aap_inventory, aap_host, aap_job_template, aap_job) is removed along
with its provider declaration. The companion variables (enable_aap,
aap_org_name, aap_inventory_name, aap_job_template_name) are dropped,
as are the now-orphaned private_ip_addr and proxyhost variables which
were only consumed by the AAP host block.

Adds a new boot_disk_size variable that sets the libvirt_volume.boot
capacity in bytes, allowing callers to grow the boot disk beyond the
source image's natural size (useful for Talos nocloud images that
ship small).

BREAKING CHANGE: Callers passing enable_aap, aap_*, private_ip_addr,
or proxyhost arguments must remove them. Hosts requiring Ansible
configuration should drive it from outside this module.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xnoto xnoto changed the title chore: add repo-local opencode config refactor!: remove AAP; add boot_disk_size; bundle opencode config Apr 29, 2026
xnoto added 3 commits April 29, 2026 13:55
The arc-dind runner pool depends on the in-cluster
actions-runner-controller in kustomize-cluster, which is offline
during the libvirt-host migration. Swap to GitHub-hosted
ubuntu-latest runners so PRs can validate; revert to arc-dind once
the new cluster is up.
The previous reference to ghcr.io/makeitworkcloud/runner:latest does
not exist in the registry. The canonical image (built by the images
repo and bundling pre-commit hooks) is published as
ghcr.io/makeitworkcloud/tfroot-runner.
@xnoto xnoto merged commit be6824e into main Apr 29, 2026
2 checks passed
@xnoto xnoto deleted the chore/add-opencode-config branch April 29, 2026 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant