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:
commit
6173e2b25e
1 changed files with 13 additions and 8 deletions
|
@ -5,14 +5,19 @@
|
|||
path: "/usr/bin/calibre"
|
||||
register: calib_executable
|
||||
|
||||
- name: Install Calibre via OS's package installer (IF /usr/bin/calibre MISSING)
|
||||
package:
|
||||
name: "{{ item }}"
|
||||
state: latest
|
||||
with_items:
|
||||
- calibre
|
||||
- calibre-bin
|
||||
when: internet_available and (not calib_executable.stat.exists)
|
||||
# The 8 lines below were breaking IIAB installs on Ubuntu 16.04 as of early
|
||||
# July 2018 (https://github.com/iiab/iiab/issues/883) and were tested as
|
||||
# unecessary on Raspbian Lite on RPi 3 B+ (calibre_via-debs: True) and
|
||||
# Ubuntu 18.04 (calibre_via_python: True). PR #856 is the fix for now.
|
||||
|
||||
#- name: Install Calibre via OS's package installer (IF /usr/bin/calibre MISSING)
|
||||
# package:
|
||||
# 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)
|
||||
include_tasks: debs.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue