diff options
Diffstat (limited to 'roles/vmm/tasks/init_hypervisor.yml')
-rw-r--r-- | roles/vmm/tasks/init_hypervisor.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/vmm/tasks/init_hypervisor.yml b/roles/vmm/tasks/init_hypervisor.yml new file mode 100644 index 0000000..c963bbb --- /dev/null +++ b/roles/vmm/tasks/init_hypervisor.yml @@ -0,0 +1,12 @@ + +# vmm ~~ tasks/init_hypervisor.yml + +--- + +- include_tasks: download_iso.yml + vars: + iso="{{ item.name }}" + with_items: "{{ vmm.iso }}" + +- include: generate_vmconf.yml guest="{{ item }}" + loop: "{{ hostvars[ansible_host] }}.vm.hosts" |