1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

calibre debs use latest, add internet_available

This commit is contained in:
Jerry Vonau 2018-04-07 18:04:12 -05:00
parent 785715c412
commit 3c59be9438

View file

@ -1,7 +1,11 @@
- name: Start by installing OS's Calibre package
package:
name: calibre
state: present
name: "{{ item }}"
state: latest
with_items:
- calibre
- calibre-bin
when: internet_available
# April 5 2018 raspbian is now tracking the latest Calibre with a small delay.
# Should you really want the latest just run the below script standalone, it is
@ -9,12 +13,12 @@
- name: Upgrade to testing Calibre - RPi
command: scripts/calibre-install-latest-rpi.sh
when: is_rpi
when: is_rpi and internet_available
- name: Upgrade to testing Calibre - non-RPi
command: scripts/calibre-install-latest.sh
when: not is_rpi and not is_ubuntu_18
when: not is_rpi and not is_ubuntu_18 and internet_available
- name: Upgrade to unstable Calibre - all
command: scripts/calibre-install-unstable.sh
when: calibre_unstable
when: calibre_unstable and internet_available