aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/vmm/tasks/main.yml')
-rw-r--r--roles/vmm/tasks/main.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/vmm/tasks/main.yml b/roles/vmm/tasks/main.yml
index 9011497..81ddafc 100644
--- a/roles/vmm/tasks/main.yml
+++ b/roles/vmm/tasks/main.yml
@@ -3,6 +3,18 @@
---
+- 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 }}"
remember that computers suck.