1 2 3 4 5 6 7 8 9 10 11 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"