diff options
author | binary <me@rgoncalves.se> | 2020-11-10 22:34:09 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-10 22:34:09 +0100 |
commit | bd588c773a757c447f754dc926c06123087b6b29 (patch) | |
tree | 7c02302756d01e2a2ddd90db9a508d77e45454df /roles/vmm/tasks/main.yml | |
parent | 0a673e300800b91342499cec9cd482b5d2d9c603 (diff) | |
download | infrastructure-bd588c773a757c447f754dc926c06123087b6b29.tar.gz |
Refactor vmm variables
Diffstat (limited to 'roles/vmm/tasks/main.yml')
-rw-r--r-- | roles/vmm/tasks/main.yml | 12 |
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 }}" |