sync-vm with torrent support
This commit is contained in:
parent
50cf61844c
commit
399c3d0d66
7 changed files with 329 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue