Get ready for bookworm by default.

This commit is contained in:
Andreas B. Mundt 2023-03-14 17:12:53 +01:00
parent cb9f5fdb23
commit 5640c3e76b
3 changed files with 26 additions and 8 deletions

View file

@ -103,12 +103,18 @@
force: false
- name: rsync VM image definitions
command: rsync -a --itemize-changes rsync://server:/vmimages-download/xml /var/lib/libvirt/images/
command: >
rsync -a --itemize-changes
rsync://server:/vmimages-download/xml /var/lib/libvirt/images/
register: result
changed_when: result.stdout | length > 0
- name: rsync VM images
command: rsync -a -i --files-from=/var/lib/libvirt/images/images.list rsync://server:/vmimages-download/ /var/lib/libvirt/images/
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: not run_in_installer | default(false) | bool and (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