refactor(vars): add system/hypervisor dict inputs
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
---
|
||||
cleanup_libvirt_image_dir: >-
|
||||
{{ vm_path if vm_path is defined and vm_path | length > 0 else '/var/lib/libvirt/images' }}
|
||||
{{
|
||||
system_cfg.path
|
||||
if system_cfg is defined and (system_cfg.path | string | length) > 0
|
||||
else '/var/lib/libvirt/images'
|
||||
}}
|
||||
cleanup_libvirt_cloudinit_path: >-
|
||||
{{ [cleanup_libvirt_image_dir, hostname ~ '-cloudinit.iso'] | ansible.builtin.path_join }}
|
||||
|
||||
Reference in New Issue
Block a user