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
|
||||
enabled: yes
|
||||
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:
|
||||
name: libvirtd.service
|
||||
listen: reload libvirtd
|
||||
|
||||
- name: enable vmimage-torrent service
|
||||
- name: Enable vmimage-torrent service
|
||||
systemd:
|
||||
name: vmimage-torrent.service
|
||||
state: restarted
|
||||
|
@ -11,3 +11,9 @@
|
|||
enabled: true
|
||||
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:
|
||||
- /usr/local/share/applications
|
||||
- /usr/local/share/desktop-directories
|
||||
notify: update-desktop-database
|
||||
notify: Run update-desktop-database
|
||||
|
||||
- name: Copy fvs.directory
|
||||
ansible.builtin.copy:
|
||||
src: fvs.directory
|
||||
dest: /usr/local/share/desktop-directories/
|
||||
notify: update-desktop-database
|
||||
notify: Run update-desktop-database
|
||||
|
||||
- name: Copy fvs.menu
|
||||
ansible.builtin.copy:
|
||||
src: fvs.menu
|
||||
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
|
||||
command: sync-vm.sh -t
|
||||
|
|
Loading…
Add table
Reference in a new issue