systemd vmimage-torrent.service added

This commit is contained in:
Raphael Dannecker 2023-05-06 12:04:07 +02:00
parent fb1283a546
commit dce05711b4
2 changed files with 18 additions and 0 deletions

View file

@ -2,3 +2,12 @@
systemd: systemd:
name: libvirtd.service name: libvirtd.service
listen: reload libvirtd listen: reload libvirtd
- name: enable vmimage-torrent service
systemd:
name: vmimage-torrent.service
state: restarted
daemon_reload: true
enabled: true
listen: "enable vmimage-torrent.service"

View file

@ -90,6 +90,15 @@
group: root group: root
mode: '0755' mode: '0755'
- name: Deploy vmimage-torrent.service
copy:
src: vmimage-torrent.service
dest: /etc/systemd/system/
owner: root
group: root
mode: '0755'
notify: "enable vmimage-torrent.service"
- name: Deploy bridge.conf needed for qemu session mode - name: Deploy bridge.conf needed for qemu session mode
lineinfile: lineinfile:
path: /etc/qemu/bridge.conf path: /etc/qemu/bridge.conf