yavdr-ansible/roles/kodi/tasks/install-kodi.yml

26 lines
617 B
YAML
Raw Normal View History

2017-07-30 14:29:38 +02:00
---
- name: apt | install kodi packages
apt:
2018-10-05 18:01:28 +02:00
name:
- kodi
- kodi-pvr-vdr-vnsi
- python3-lxml
2017-07-30 14:29:38 +02:00
state: present
install_recommends: no
- name: apt | install kodi-send (team-xbmc PPA)
apt:
name: "kodi-eventclients-xbmc-send" # team-xbmc uses "kodi-eventclients-xbmc-send for some reason
state: present
install_recommends: no
register: team_xbmc_ppa
ignore_errors: True
- name: apt | install kodi-send (Ubuntu package)
apt:
name: "kodi-eventclients-kodi-send" # fallback to ubuntu package
state: present
install_recommends: no
when: team_xbmc_ppa.failed