diff options
author | binary <me@rgoncalves.se> | 2020-11-09 13:24:18 +0100 |
---|---|---|
committer | binary <me@rgoncalves.se> | 2020-11-09 13:24:18 +0100 |
commit | 35f2127b6fed2e7e6bdf8aa1476f90ef3501fd31 (patch) | |
tree | 934dda2050a915a3f66e763e7c5fb1bff4e6ac9a /roles/vmm/tasks/set_facts.yml | |
parent | 5189fdfd939ea48459a28cffb1fb69df5d363a3c (diff) | |
download | infrastructure-35f2127b6fed2e7e6bdf8aa1476f90ef3501fd31.tar.gz |
Add disk file var
Diffstat (limited to 'roles/vmm/tasks/set_facts.yml')
-rw-r--r-- | roles/vmm/tasks/set_facts.yml | 1 |
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) \ |