From 35f2127b6fed2e7e6bdf8aa1476f90ef3501fd31 Mon Sep 17 00:00:00 2001 From: binary Date: Mon, 9 Nov 2020 13:24:18 +0100 Subject: Add disk file var --- roles/vmm/tasks/set_facts.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/vmm/tasks/set_facts.yml b/roles/vmm/tasks/set_facts.yml index 2acc458..5263d06 100644 --- a/roles/vmm/tasks/set_facts.yml +++ b/roles/vmm/tasks/set_facts.yml @@ -8,6 +8,7 @@ when: iso is defined - set_fact: + disk_file: "{{ vmm.disk_dir }}/{{ guest }}.{{ vmm.disk_format }}" iso_file: "{{ iso_latest | regex_replace('latest', vmm.iso[iso].version) }}" iso_url: "{{ vmm.iso[iso].url \ | regex_replace('VERSIONDIR', vmm.iso[iso].versiondir) \ -- cgit v1.2.3