aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks/main.yml
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/tasks/main.yml
parent282be811d2ac07a76d56ac066df5bf33d748bd64 (diff)
downloadinfrastructure-352c98322771af117a85904d580e1c062062d634.tar.gz
Refactor vmm role with automation
Diffstat (limited to 'roles/vmm/tasks/main.yml')
-rw-r--r--roles/vmm/tasks/main.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/vmm/tasks/main.yml b/roles/vmm/tasks/main.yml
index 8d5609a..9011497 100644
--- a/roles/vmm/tasks/main.yml
+++ b/roles/vmm/tasks/main.yml
@@ -3,3 +3,12 @@
---
+- name: Download all iso files
+ include: download_iso.yml iso={{ item }}
+ with_items: "{{ vmm.iso }}"
+
+- name: Generate disks for all vms
+ include: generate_disk.yml guest={{ item }}
+ with_items: "{{ vms }}"
+
+- include: generate_vmconf.yml
remember that computers suck.