2018-05-10 20:33:59 +00:00
|
|
|
# roles/calibre/tasks/main.yml requires calibre_via_debs (to be True) before calling this script.
|
2017-11-19 20:33:53 +00:00
|
|
|
|
2018-05-10 20:33:59 +00:00
|
|
|
# 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
|
2018-04-05 13:46:35 +00:00
|
|
|
|
2018-05-10 20:33:59 +00:00
|
|
|
# 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).
|
|
|
|
|
2018-05-11 01:05:15 +00:00
|
|
|
# If you want the latest Calibre, run the appropriate below script, standalone.
|
2018-05-10 20:33:59 +00:00
|
|
|
# HOWEVER: it's strongly suggested you wait for apt (blessed by your OS!)
|
|
|
|
|
|
|
|
- name: Upgrade to Calibre testing .deb's - target Raspbian (rpi)
|
2018-04-06 23:03:38 +00:00
|
|
|
command: scripts/calibre-install-latest-rpi.sh
|
2018-04-07 23:04:12 +00:00
|
|
|
when: is_rpi and internet_available
|
2018-04-06 23:03:38 +00:00
|
|
|
|
2018-05-10 20:33:59 +00:00
|
|
|
- name: Upgrade to Calibre testing .deb's - target Ubuntu 16.04 (not rpi and not ubuntu_18)
|
2017-11-20 08:41:34 +00:00
|
|
|
command: scripts/calibre-install-latest.sh
|
2018-04-07 23:04:12 +00:00
|
|
|
when: not is_rpi and not is_ubuntu_18 and internet_available
|
2018-04-05 22:03:41 +00:00
|
|
|
|
2018-05-10 20:33:59 +00:00
|
|
|
- name: Upgrade to Calibre unstable .deb's IF calibre_unstable_debs
|
2018-04-06 23:03:38 +00:00
|
|
|
command: scripts/calibre-install-unstable.sh
|
2018-05-10 20:33:59 +00:00
|
|
|
when: calibre_unstable_debs and internet_available
|