# vmm_deploy ~~ tasks/main.yml --- - name: Check that iso directory exists file: path: "{{ vmm.iso_dir }}" state: directory recurse: true - name: Check that disk directory exists file: path: "{{ vmm.disk_dir }}" state: directory recurse: true - 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