1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00
iiab/roles/calibre/tasks/debs.yml
2018-04-07 18:28:27 -05:00

24 lines
837 B
YAML

- name: Start by installing OS's Calibre package
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.
# Should you really want the latest just run the below script standalone, it is
# strongly suggested that waiting for the lastest deb from Raspbian is the best.
- name: Upgrade to testing Calibre - RPi
command: scripts/calibre-install-latest-rpi.sh
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 and internet_available
- name: Upgrade to unstable Calibre - all
command: scripts/calibre-install-unstable.sh
when: calibre_unstable and internet_available