You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## 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
- [x] 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)
- [x] CI `make test` passes
- [x] 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`
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| <aname="input_aap_inventory_name"></a> [aap\_inventory\_name](#input\_aap\_inventory\_name)| Name of the AAP inventory to use. |`string`|`"libvirt-infra"`| no |
68
-
| <aname="input_aap_job_template_name"></a> [aap\_job\_template\_name](#input\_aap\_job\_template\_name)| Name of the AAP job template to run. If left empty, will default to configure\_<name> |`string`|`""`| no |
69
-
| <aname="input_aap_org_name"></a> [aap\_org\_name](#input\_aap\_org\_name)| Name of the Ansible Automation Platform (AAP) organization. |`string`|`"Default"`| no |
60
+
| <aname="input_boot_disk_size"></a> [boot\_disk\_size](#input\_boot\_disk\_size)| Boot disk virtual size in bytes. Null means use the source image's natural size. |`number`|`null`| no |
70
61
| <aname="input_boot_image_url"></a> [boot\_image\_url](#input\_boot\_image\_url)| URL for the base QCOW2 image used as the boot disk. |`string`|`"https://download.fedoraproject.org/pub/fedora/linux/releases/43/Cloud/x86_64/images/Fedora-Cloud-Base-Generic-43-1.6.x86_64.qcow2"`| no |
71
62
| <aname="input_bridge_name"></a> [bridge\_name](#input\_bridge\_name)| Name of the network bridge for the second network interface. |`string`|`"nm-bridge"`| no |
72
63
| <aname="input_cloudinit_meta_data_template"></a> [cloudinit\_meta\_data\_template](#input\_cloudinit\_meta\_data\_template)| The template content for cloud-init meta-data configuration. |`string`| n/a | yes |
@@ -76,12 +67,9 @@ No modules.
76
67
| <aname="input_cloudinit_user_data_template"></a> [cloudinit\_user\_data\_template](#input\_cloudinit\_user\_data\_template)| The template content for cloud-init user-data configuration. |`string`| n/a | yes |
77
68
| <aname="input_cloudinit_user_data_vars"></a> [cloudinit\_user\_data\_vars](#input\_cloudinit\_user\_data\_vars)| Variable map for the cloud-init user-data template. Set to {} if not used. |`map(string)`| n/a | yes |
78
69
| <aname="input_description"></a> [description](#input\_description)| Description for the libvirt domain (virtual machine). |`string`|`""`| no |
79
-
| <aname="input_enable_aap"></a> [enable\_aap](#input\_enable\_aap)| Whether to provision Ansible Automation Platform (AAP) resources for this domain. |`bool`|`false`| no |
80
70
| <aname="input_extra_volumes"></a> [extra\_volumes](#input\_extra\_volumes)| List of additional volumes to attach to the domain. Each object should contain:<br/> - name: Name of the volume.<br/> - size: Size of the volume in bytes.<br/>Example:<br/>[<br/> {<br/> name = "runner-var-lib-docker.qcow2"<br/> size = 107374182400<br/> }<br/>]| <pre>list(object({<br/> name = string<br/> size = number<br/> }))</pre> |`[]`| no |
81
71
| <aname="input_memory"></a> [memory](#input\_memory)| Amount of memory (in MB) to assign to the domain. |`number`|`2048`| no |
82
72
| <aname="input_name"></a> [name](#input\_name)| The name of the libvirt domain (virtual machine) and related resources. |`string`| n/a | yes |
83
-
| <aname="input_private_ip_addr"></a> [private\_ip\_addr](#input\_private\_ip\_addr)| Private IP address to assign to the VM (used for network config and inventory). |`string`| n/a | yes |
84
-
| <aname="input_proxyhost"></a> [proxyhost](#input\_proxyhost)| Proxy host for SSH connection, used in ansible\_ssh\_common\_args. |`string`| n/a | yes |
85
73
| <aname="input_storage_pool"></a> [storage\_pool](#input\_storage\_pool)| Name of the libvirt storage pool where volumes will be created. |`string`|`"default"`| no |
86
74
| <aname="input_vcpu"></a> [vcpu](#input\_vcpu)| Number of virtual CPUs to assign to the domain. |`number`|`1`| no |
0 commit comments