diff options
| author | spmfox <spmfox@foxwd.com> | 2023-06-10 22:50:30 -0400 |
|---|---|---|
| committer | spmfox <spmfox@foxwd.com> | 2023-06-10 22:50:30 -0400 |
| commit | 843ad6659cc0bd6b8baaf2033e680d32a0531b2d (patch) | |
| tree | 1f421307396ce3805a07b33a2cb6d82ee0fbc300 /roles/libvirt | |
| parent | a93e04656b8dc9bfbce998d0ec2ca299f4120629 (diff) | |
adding tags, adding guest configuration
Diffstat (limited to 'roles/libvirt')
| -rw-r--r-- | roles/libvirt/vars/main.yml | 8 |
1 files changed, 4 insertions, 4 deletions
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 }}" |
