add vm_destroy playbook and role
correct network addressing in template write hostname to /etc/hostname
This commit is contained in:
27
ansible/roles/vm_destroy/defaults/main.yml
Normal file
27
ansible/roles/vm_destroy/defaults/main.yml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
vm_name_prefix: "kube"
|
||||
vm_name_suffixes: ["01","02","03"]
|
||||
vhd_template: "arch_template_vda.qcow2"
|
||||
root_vhd_pool_dir: "/vhds/root" # No trailing /
|
||||
firmware_vhd_pool_dir: "/vhds/firmware" # No trailing /
|
||||
containers_vhd_pool_dir: "/vhds/containers" # No trailing /
|
||||
data_nvme_vhd_pool_dir: "/vhds/data_nvme" # No trailing /
|
||||
data_hdd_vhd_pool_dir: "/vhds/data_hdd" # No trailing /
|
||||
vm_memory: "16"
|
||||
vm_cpu: "4"
|
||||
vm_cpu_cores: "2"
|
||||
vm_cpu_threads: "2"
|
||||
vm_bridge: "br1"
|
||||
vm_mac_prefix: "52:54:00:e3:af:"
|
||||
vm_subnet_prefix: "192.168.199.1" # vm suffix will be appended to this
|
||||
vm_subnet_suffix: "/24"
|
||||
vm_gateway: "192.168.199.254"
|
||||
vm_ntp: "192.168.199.254"
|
||||
vm_domain: "balsillie.net"
|
||||
vm_machine_type: "pc-q35-7.1"
|
||||
vm_machine_arch: "x86_64"
|
||||
containers_vhd_size: "64G"
|
||||
data_nvme_vhd_size: "64G"
|
||||
data_hdd_vhd_size: "3T"
|
||||
delete_root_vhd: true
|
||||
delete_data_vhd: false
|
Reference in New Issue
Block a user