improve installation of kodi-send

install kodi-eventclients-xmbc-send if available, else install kodi-eventclients-kodi-send
This commit is contained in:
Alexander Grothe 2018-08-10 11:53:28 +02:00
parent 4c6c77ccc5
commit 73a7e75db9

View File

@ -8,4 +8,15 @@
with_items:
- kodi
- kodi-pvr-vdr-vnsi
- kodi-eventclients-kodi-send # for ubuntu packages, team-xbmc uses "kodi-eventclients-xbmc-send for some reason
- name: apt | install kodi-send
block:
- apt:
name: "kodi-eventclients-xbmc-send" # team-xbmc uses "kodi-eventclients-xbmc-send for some reason
state: present
install_recommends: no
rescue:
- apt:
name: "kodi-eventclients-kodi-send" # fallback to ubuntu package
state: present
install_recommends: no