Working through errors

This commit is contained in:
Eric Meehan 2025-07-30 23:01:38 -04:00
parent a4ae85a508
commit ee1dd815e9
2 changed files with 17 additions and 1 deletions

View File

@ -35,6 +35,11 @@ all:
alpha-worker-10: alpha-worker-10:
alpha-worker-11: alpha-worker-11:
alpha-worker-12: alpha-worker-12:
alpha-worker-13:
alpha-worker-14:
alpha-worker-15:
alpha-worker-16:
alpha-worker-17:
alpha: alpha:
hosts: hosts:
alpha-control-plane: alpha-control-plane:
@ -51,3 +56,8 @@ all:
alpha-worker-10: alpha-worker-10:
alpha-worker-11: alpha-worker-11:
alpha-worker-12: alpha-worker-12:
alpha-worker-13:
alpha-worker-14:
alpha-worker-15:
alpha-worker-16:
alpha-worker-17:

View File

@ -77,6 +77,12 @@
autostart: true autostart: true
loop: "{{ libvirt_networks }}" loop: "{{ libvirt_networks }}"
- name: Ensure that a network is active (needs to be defined and built first)
community.libvirt.virt_net:
state: active
name: "{{ item.name }}"
loop: "{{ libvirt_networks }}"
- name: Download base image for guests - name: Download base image for guests
get_url: get_url:
url: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 url: https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
@ -92,7 +98,7 @@
- name: Copy cloud-config templates for guests - name: Copy cloud-config templates for guests
template: template:
src: eom_cloud.cfg.j2 src: user-data.j2
dest: "/var/lib/libvirt/configs/{{ domain.name }}/user-data" dest: "/var/lib/libvirt/configs/{{ domain.name }}/user-data"
force: true force: true
loop: "{{ libvirt_guests }}" loop: "{{ libvirt_guests }}"