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/tasks/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'roles/vmm/tasks/main.yml') 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 -- cgit v1.2.3