Skip time consuming VM syncing during installation, cleanup.
This commit is contained in:
parent
354075f530
commit
cb9f5fdb23
3 changed files with 14 additions and 16 deletions
|
@ -111,4 +111,4 @@
|
|||
command: rsync -a -i --files-from=/var/lib/libvirt/images/images.list rsync://server:/vmimages-download/ /var/lib/libvirt/images/
|
||||
register: result
|
||||
changed_when: result.stdout | length > 0
|
||||
when: (ansible_mounts | selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000
|
||||
when: not run_in_installer | default(false) | bool and (ansible_mounts | selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue