Fixes and new desktop starter synchronization system.

This commit is contained in:
Andreas B. Mundt 2024-01-20 14:38:02 +01:00
parent 350f4c2646
commit 4ce97f5486
6 changed files with 27 additions and 17 deletions

View file

@ -150,7 +150,6 @@
mode: '0755'
loop:
- mounthome.sh
- sync-vm.sh
- vm-create
- vm-rebase
- vm-run
@ -161,6 +160,7 @@
- virtiofsd
- vm-aria2
- uploadseed
- desktop-sync
- name: Deploy vm configuration file vm.conf
ansible.builtin.copy:
@ -259,7 +259,8 @@
dest: /etc/xdg/menus/applications-merged/
notify: Run update-desktop-database
- name: Sync .torrent, .xml and .desktop files and run update-desktop-database
command: sudo -u lmnsynci /usr/local/bin/sync-vm.sh -t
register: result
changed_when: result.stdout | length > 0
- name: Copy initial sync starter
ansible.builtin.copy:
src: sync.desktop
dest: /usr/local/share/applications/
notify: Run update-desktop-database