aboutsummaryrefslogtreecommitdiffstats
path: root/roles/vmm
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-11-09 13:24:18 +0100
committerbinary <me@rgoncalves.se>2020-11-09 13:24:18 +0100
commit35f2127b6fed2e7e6bdf8aa1476f90ef3501fd31 (patch)
tree934dda2050a915a3f66e763e7c5fb1bff4e6ac9a /roles/vmm
parent5189fdfd939ea48459a28cffb1fb69df5d363a3c (diff)
downloadinfrastructure-35f2127b6fed2e7e6bdf8aa1476f90ef3501fd31.tar.gz
Add disk file var
Diffstat (limited to 'roles/vmm')
-rw-r--r--roles/vmm/tasks/set_facts.yml1
1 files changed, 1 insertions, 0 deletions
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) \
remember that computers suck.