mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update calibre/tasks/install.yml
This commit is contained in:
parent
9301e4d485
commit
2899a73bbc
1 changed files with 14 additions and 13 deletions
|
@ -1,22 +1,23 @@
|
|||
# 1. INSTALL CALIBRE 4.X+ (calibre, calibredb, calibre-server etc) ON ALL OS'S
|
||||
|
||||
#- name: "Install OS's latest packages: calibre, calibre-bin"
|
||||
# package:
|
||||
# name:
|
||||
# - calibre
|
||||
# - calibre-bin
|
||||
# state: latest
|
||||
- name: "Install OS's latest packages: calibre, calibre-bin"
|
||||
package:
|
||||
name:
|
||||
- calibre
|
||||
- calibre-bin
|
||||
state: latest
|
||||
|
||||
# May require above 2 pkgs first?
|
||||
- name: Install Calibre via .debs (raspbian)
|
||||
- name: Install Calibre via .debs (if Raspbian)
|
||||
command: scripts/calibre-install-latest-rpi.sh # WORKED for Calibre 3.33.1 on 2018-10-23. And Calibre 3.28 on 2018-07-26 (PR #971). Likewise for Calibre 3.26.x. FAILED with Calibre 3.24+ ("calibre : Depends: python-pyqt5 (>= 5.10.1+dfsg-2) but 5.10.1+dfsg-1+rpi1 is to be installed") since June 2018.
|
||||
#include_tasks: debs.yml
|
||||
when: is_raspbian | bool
|
||||
|
||||
# May require above 2 pkgs first?
|
||||
- name: Install Calibre via py-installer.yml -> calibre-installer.py (not raspbian)
|
||||
include_tasks: py-installer.yml
|
||||
when: not is_raspbian
|
||||
# 2020-04-29: Can work *IF* you do 'apt install python2' and change top line
|
||||
# of /opt/iiab/downloads/calibre-installer.py from '#!/usr/bin/env python2'
|
||||
# to '#!/usr/bin/python2'
|
||||
#
|
||||
#- name: Install Calibre via py-installer.yml -> calibre-installer.py (if not Raspbian)
|
||||
# include_tasks: py-installer.yml
|
||||
# when: not is_raspbian
|
||||
|
||||
# SEE calibre_via_python's value vars/default_vars.yml, vars/ubuntu-18.yml &
|
||||
# vars/raspbian-9.yml: try to AVOID Python installer on Raspbian since its
|
||||
|
|
Loading…
Reference in a new issue