Prevent increasing failed status count when package is not available
This commit is contained in:
parent
73a7e75db9
commit
3a349fd6ed
@ -9,14 +9,17 @@
|
|||||||
- kodi
|
- kodi
|
||||||
- kodi-pvr-vdr-vnsi
|
- kodi-pvr-vdr-vnsi
|
||||||
|
|
||||||
- name: apt | install kodi-send
|
- name: apt | install kodi-send (team-xbmc PPA)
|
||||||
block:
|
apt:
|
||||||
- apt:
|
|
||||||
name: "kodi-eventclients-xbmc-send" # team-xbmc uses "kodi-eventclients-xbmc-send for some reason
|
name: "kodi-eventclients-xbmc-send" # team-xbmc uses "kodi-eventclients-xbmc-send for some reason
|
||||||
state: present
|
state: present
|
||||||
install_recommends: no
|
install_recommends: no
|
||||||
rescue:
|
register: team_xbmc_ppa
|
||||||
- apt:
|
ignore_errors: True
|
||||||
|
|
||||||
|
- name: apt | install kodi-send (Ubuntu package)
|
||||||
|
apt:
|
||||||
name: "kodi-eventclients-kodi-send" # fallback to ubuntu package
|
name: "kodi-eventclients-kodi-send" # fallback to ubuntu package
|
||||||
state: present
|
state: present
|
||||||
install_recommends: no
|
install_recommends: no
|
||||||
|
when: team_xbmc_ppa.failed
|
||||||
|
Loading…
Reference in New Issue
Block a user