aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/vars
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-07 20:38:07 +0100
committerbinary <me@rgoncalves.se>2020-11-07 20:38:07 +0100
commit352c98322771af117a85904d580e1c062062d634 (patch)
treed3bca9d27d6ee5d678264d83fc22030d274f30bf /roles/vmm/vars
parent282be811d2ac07a76d56ac066df5bf33d748bd64 (diff)
downloadinfrastructure-352c98322771af117a85904d580e1c062062d634.tar.gz
Refactor vmm role with automation
Diffstat (limited to 'roles/vmm/vars')
-rw-r--r--roles/vmm/vars/main.yml19
1 files changed, 9 insertions, 10 deletions
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"
remember that computers suck.