From 843ad6659cc0bd6b8baaf2033e680d32a0531b2d Mon Sep 17 00:00:00 2001 From: spmfox Date: Sat, 10 Jun 2023 22:50:30 -0400 Subject: adding tags, adding guest configuration --- roles/libvirt/vars/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/libvirt/vars/main.yml') diff --git a/roles/libvirt/vars/main.yml b/roles/libvirt/vars/main.yml index 82140c5..54fd9e7 100644 --- a/roles/libvirt/vars/main.yml +++ b/roles/libvirt/vars/main.yml @@ -1,4 +1,4 @@ -libvirt_vm_name: "{{ vm_name }}" +libvirt_vm_name: "{{ inventory_hostname }}" libvirt_vm_memory: "{{ memory_mb }}" libvirt_vm_vcpus: "{{ cpus }}" libvirt_vm_disk_size: "{{ disk_gb }}" @@ -6,10 +6,10 @@ libvirt_vm_disk_format: "{{ disk_format }}" libvirt_vm_os: "{{ os }}" libvirt_vm_kickstart_file: "{{ kickstart }}" libvirt_vm_location_path: "{{ iso_path }}" -libvirt_vm_destination: "{{ parent_dataset }}/{{ vm_name }}" +libvirt_vm_destination: "{{ parent_dataset }}/{{ inventory_hostname }}" libvirt_vm_network: "{{ network }}" -libvirt_kickstart_hostname: "{{ vm_name }}" +libvirt_kickstart_hostname: "{{ inventory_hostname }}" libvirt_kickstart_timezone: "{{ timezone }}" -libvirt_kickstart_root_ssh_key: "{{ root_ssh_key }}" +libvirt_kickstart_root_ssh_key: "{{ ssh_key }}" libvirt_kickstart_root_password: "{{ root_password }}" -- cgit