diff options
author | binary <me@rgoncalves.se> | 2020-11-07 20:38:07 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-07 20:38:07 +0100 |
commit | 352c98322771af117a85904d580e1c062062d634 (patch) | |
tree | d3bca9d27d6ee5d678264d83fc22030d274f30bf /roles/vmm/tasks/main.yml | |
parent | 282be811d2ac07a76d56ac066df5bf33d748bd64 (diff) | |
download | infrastructure-352c98322771af117a85904d580e1c062062d634.tar.gz |
Refactor vmm role with automation
Diffstat (limited to 'roles/vmm/tasks/main.yml')
-rw-r--r-- | roles/vmm/tasks/main.yml | 9 |
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 |