Skip to content

Commit ace58d2

Browse files
holserclaude
andcommitted
[va-hci] Add compute VM variable defaults
Define cifmw_libvirt_manager_compute_* variables explicitly to prevent template evaluation errors during fact gathering. When the scenario overrides cifmw_libvirt_manager_configuration, Ansible evaluates Jinja2 expressions before va-common.yml variables are in scope. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Sergii Golovatiuk <sgolovat@redhat.com>
1 parent 1a00816 commit ace58d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

scenarios/reproducers/va-hci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
---
22
cifmw_parent_scenario: "scenarios/reproducers/va-hci-base.yml"
33

4+
# Define compute VM settings (required when overriding cifmw_libvirt_manager_configuration)
5+
cifmw_libvirt_manager_compute_amount: 3
6+
cifmw_libvirt_manager_compute_disksize: 50
7+
cifmw_libvirt_manager_compute_memory: 8
8+
cifmw_libvirt_manager_compute_cpus: 4
9+
410
# HERE if you want to override kustomization, you can uncomment this parameter
511
# and push the data structure you want to apply.
612
# cifmw_architecture_user_kustomize:

0 commit comments

Comments
 (0)