From bd588c773a757c447f754dc926c06123087b6b29 Mon Sep 17 00:00:00 2001 From: binary Date: Tue, 10 Nov 2020 22:34:09 +0100 Subject: Refactor vmm variables --- roles/vmm/tasks/main.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'roles/vmm/tasks/main.yml') 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 }}" -- cgit v1.2.3