sync-vm with torrent support

This commit is contained in:
Raphael Dannecker 2023-05-03 17:24:27 +02:00
parent 50cf61844c
commit 399c3d0d66
7 changed files with 329 additions and 12 deletions

View file

@ -63,7 +63,7 @@
- lmn-link-images
- lmn-startvirtiofsd
- name: deploy mount home script
- name: deploy vmimages scripts
copy:
src: "{{ item }}"
dest: /usr/local/bin/
@ -79,6 +79,16 @@
- sync-vm.sh
- link-images.sh
- start-virtiofsd.sh
- linbo-torrenthelper.sh
- vmimage-torrent
- name: deploy linbo-torrent defaults
copy:
src: linbo-torrent
dest: /etc/default/
owner: root
group: root
mode: '0755'
- name: Deploy bridge.conf needed for qemu session mode
lineinfile:
@ -137,5 +147,5 @@
register: result
changed_when: result.stdout | length > 0
when: >
not run_in_installer | default(false) | bool and (ansible_mounts |
false and not run_in_installer | default(false) | bool and (ansible_mounts |
selectattr("mount", "equalto", "/") | list)[0].size_available > 80000000000