From 352c98322771af117a85904d580e1c062062d634 Mon Sep 17 00:00:00 2001 From: binary Date: Sat, 7 Nov 2020 20:38:07 +0100 Subject: Refactor vmm role with automation --- roles/vmm/vars/main.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'roles/vmm/vars') diff --git a/roles/vmm/vars/main.yml b/roles/vmm/vars/main.yml index 22c59a7..8119c88 100644 --- a/roles/vmm/vars/main.yml +++ b/roles/vmm/vars/main.yml @@ -8,20 +8,19 @@ vmm: user: "vmm" group: "vmm" - config: - file: "/etc/vm.conf" - switch: - name: "uplink" - interface: "bridge0" + iso_dir: "/data/vmm/iso.d" + disk_dir: "/data/vmm/disk.d" + disk_format: "qcow2" - disk: - dir: "/data/vmm/disk.d" - format: "qcow2" + config_file: "/etc/vm.conf" + + switch: + name: "uplink" + interface: "bridge0" + interface_host: "bnx0" iso: - dir: "/data/vmm/iso.d" - alpine: name: "alpine" version: "3.12.1" -- cgit v1.2.3