mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
40 lines
2.2 KiB
YAML
40 lines
2.2 KiB
YAML
# roles/calibre/tasks/main.yml requires calibre_via_debs (to be True) before calling this script.
|
|
|
|
# MOVED UP TO roles/calibre/tasks/main.yml
|
|
#- name: Start by installing OS's Calibre package
|
|
# package:
|
|
# name: "{{ item }}"
|
|
# state: latest
|
|
# with_items:
|
|
# - calibre
|
|
# - calibre-bin
|
|
# when: internet_available
|
|
|
|
# April/May 2018: Raspbian .deb's for the latest Calibre now appear
|
|
# (http://raspbian.raspberrypi.org/raspbian/pool/main/c/calibre/)
|
|
# within about 10 days of Calibre's quasi-monthly releases
|
|
# (https://calibre-ebook.com/whats-new).
|
|
|
|
# If you want the latest Calibre, run the appropriate below script, standalone.
|
|
# HOWEVER: it's strongly suggested you wait for apt (blessed by your OS!)
|
|
|
|
#- name: Install packages that Raspbian .deb's had installed for Calibre 3.23 (rpi)
|
|
# #command: scripts/calibre-install-latest-rpi.sh # FAILS with Calibre 3.24+ ("calibre : Depends: python-pyqt5 (>= 5.10.1+dfsg-2) but 5.10.1+dfsg-1+rpi1 is to be installed") since June 2018.
|
|
# command: scripts/calibre-install-packages.sh # BORROWED package list from /var/log/apt/history.log (that resulted from 2018-05-22 install of Calibre 3.23 using calibre-install-latest-rpi.sh).
|
|
# when: is_rpi and internet_available
|
|
|
|
#- name: Upgrade to latest Calibre using Debian's own .deb's from testing (rpi)
|
|
# command: scripts/calibre-install-latest.sh # NECESSARY since Calibre 3.24 (BEWARE installing libc6 will prevent boot in RPi Zero W, i.e. if calibre-install-packages.sh isn't run above!)
|
|
# when: is_rpi and internet_available
|
|
|
|
- name: Upgrade to latest Calibre using .deb's from testing (rpi)
|
|
command: scripts/calibre-install-latest-rpi.sh # SEEMS TO ONCE AGAIN WORK since Calibre 3.26.0 (Calibre 3.24-3.25 required above prereq calibre-install-packages.sh then Debian's own calibre-install-latest.sh to be bootable in Zero W)
|
|
when: is_rpi and internet_available
|
|
|
|
- name: Upgrade to Calibre testing .deb's - target Ubuntu 16.04 (not rpi and not ubuntu_18)
|
|
command: scripts/calibre-install-latest.sh
|
|
when: not is_rpi and not is_ubuntu_18 and internet_available
|
|
|
|
- name: Upgrade to Calibre unstable .deb's IF calibre_unstable_debs
|
|
command: scripts/calibre-install-unstable.sh
|
|
when: calibre_unstable_debs and internet_available
|