mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update debs.yml
This commit is contained in:
parent
85c7bef787
commit
61aba8cca2
1 changed files with 22 additions and 15 deletions
|
@ -1,24 +1,31 @@
|
||||||
- name: Start by installing OS's Calibre package
|
# roles/calibre/tasks/main.yml requires calibre_via_debs (to be True) before calling this script.
|
||||||
package:
|
|
||||||
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.
|
# MOVED UP TO roles/calibre/tasks/main.yml
|
||||||
# Should you really want the latest just run the below script standalone, it is
|
#- name: Start by installing OS's Calibre package
|
||||||
# strongly suggested that waiting for the lastest deb from Raspbian is the best.
|
# package:
|
||||||
|
# name: "{{ item }}"
|
||||||
|
# state: latest
|
||||||
|
# with_items:
|
||||||
|
# - calibre
|
||||||
|
# - calibre-bin
|
||||||
|
# when: internet_available
|
||||||
|
|
||||||
- name: Upgrade to testing Calibre - RPi
|
# 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: Upgrade to Calibre testing .deb's - target Raspbian (rpi)
|
||||||
command: scripts/calibre-install-latest-rpi.sh
|
command: scripts/calibre-install-latest-rpi.sh
|
||||||
when: is_rpi and internet_available
|
when: is_rpi and internet_available
|
||||||
|
|
||||||
- name: Upgrade to testing Calibre - non-RPi
|
- name: Upgrade to Calibre testing .deb's - target Ubuntu 16.04 (not rpi and not ubuntu_18)
|
||||||
command: scripts/calibre-install-latest.sh
|
command: scripts/calibre-install-latest.sh
|
||||||
when: not is_rpi and not is_ubuntu_18 and internet_available
|
when: not is_rpi and not is_ubuntu_18 and internet_available
|
||||||
|
|
||||||
- name: Upgrade to unstable Calibre - all
|
- name: Upgrade to Calibre unstable .deb's IF calibre_unstable_debs
|
||||||
command: scripts/calibre-install-unstable.sh
|
command: scripts/calibre-install-unstable.sh
|
||||||
when: calibre_unstable and internet_available
|
when: calibre_unstable_debs and internet_available
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue