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

Merge pull request #856 from holta/calibre-fast-install

Avoiding OS's ancient version(s) of Calibre (blocks install on Ubuntu 16.04, slows others)
This commit is contained in:
A Holt 2018-07-11 00:21:29 -04:00 committed by GitHub
commit 6173e2b25e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,14 +5,19 @@
path: "/usr/bin/calibre" path: "/usr/bin/calibre"
register: calib_executable register: calib_executable
- name: Install Calibre via OS's package installer (IF /usr/bin/calibre MISSING) # The 8 lines below were breaking IIAB installs on Ubuntu 16.04 as of early
package: # July 2018 (https://github.com/iiab/iiab/issues/883) and were tested as
name: "{{ item }}" # unecessary on Raspbian Lite on RPi 3 B+ (calibre_via-debs: True) and
state: latest # Ubuntu 18.04 (calibre_via_python: True). PR #856 is the fix for now.
with_items:
- calibre #- name: Install Calibre via OS's package installer (IF /usr/bin/calibre MISSING)
- calibre-bin # package:
when: internet_available and (not calib_executable.stat.exists) # name: "{{ item }}"
# state: latest
# with_items:
# - calibre
# - calibre-bin
# when: internet_available and (not calib_executable.stat.exists)
- name: Install Calibre experimental .debs IF calibre_via_debs (AND /usr/bin/calibre WAS MISSING) - name: Install Calibre experimental .debs IF calibre_via_debs (AND /usr/bin/calibre WAS MISSING)
include_tasks: debs.yml include_tasks: debs.yml