Move files and handlers to corresponding role.
This commit is contained in:
parent
08d1bccace
commit
244a1cad2e
5 changed files with 11 additions and 13 deletions
|
@ -8,11 +8,3 @@
|
||||||
name: tmp.mount
|
name: tmp.mount
|
||||||
enabled: yes
|
enabled: yes
|
||||||
listen: enable tmp.mount
|
listen: enable tmp.mount
|
||||||
|
|
||||||
- name: Run update-desktop-database
|
|
||||||
command: update-desktop-database "{ item }"
|
|
||||||
loop:
|
|
||||||
- /usr/local/share/applications
|
|
||||||
- /usr/local/share/desktop-directories
|
|
||||||
- /etc/xdg/menus/applications-merged
|
|
||||||
listen: update-desktop-database
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
- name: reload libvirtd
|
- name: Reload libvirtd
|
||||||
systemd:
|
systemd:
|
||||||
name: libvirtd.service
|
name: libvirtd.service
|
||||||
listen: reload libvirtd
|
listen: reload libvirtd
|
||||||
|
|
||||||
- name: enable vmimage-torrent service
|
- name: Enable vmimage-torrent service
|
||||||
systemd:
|
systemd:
|
||||||
name: vmimage-torrent.service
|
name: vmimage-torrent.service
|
||||||
state: restarted
|
state: restarted
|
||||||
|
@ -11,3 +11,9 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
listen: "enable vmimage-torrent.service"
|
listen: "enable vmimage-torrent.service"
|
||||||
|
|
||||||
|
- name: Run update-desktop-database
|
||||||
|
command: update-desktop-database "{ item }"
|
||||||
|
loop:
|
||||||
|
- /usr/local/share/applications
|
||||||
|
- /usr/local/share/desktop-directories
|
||||||
|
- /etc/xdg/menus/applications-merged
|
||||||
|
|
|
@ -144,19 +144,19 @@
|
||||||
loop:
|
loop:
|
||||||
- /usr/local/share/applications
|
- /usr/local/share/applications
|
||||||
- /usr/local/share/desktop-directories
|
- /usr/local/share/desktop-directories
|
||||||
notify: update-desktop-database
|
notify: Run update-desktop-database
|
||||||
|
|
||||||
- name: Copy fvs.directory
|
- name: Copy fvs.directory
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: fvs.directory
|
src: fvs.directory
|
||||||
dest: /usr/local/share/desktop-directories/
|
dest: /usr/local/share/desktop-directories/
|
||||||
notify: update-desktop-database
|
notify: Run update-desktop-database
|
||||||
|
|
||||||
- name: Copy fvs.menu
|
- name: Copy fvs.menu
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: fvs.menu
|
src: fvs.menu
|
||||||
dest: /etc/xdg/menus/applications-merged/
|
dest: /etc/xdg/menus/applications-merged/
|
||||||
notify: update-desktop-database
|
notify: Run update-desktop-database
|
||||||
|
|
||||||
- name: sync .torrent, .xml and .desktop files and run update-desktop-database
|
- name: sync .torrent, .xml and .desktop files and run update-desktop-database
|
||||||
command: sync-vm.sh -t
|
command: sync-vm.sh -t
|
||||||
|
|
Loading…
Add table
Reference in a new issue