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

Update main.yml

This commit is contained in:
A Holt 2018-08-30 14:14:15 -04:00 committed by GitHub
parent 3248ab0bfa
commit 74310e73f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,26 +14,9 @@
- calibre-bin
when: internet_available and not is_rpi and (not calib_executable.stat.exists)
- name: Download pinned Calibre {{ calibre_deb_version }} (RPi)
get_url:
url: "{{ calibre_deb_url }}/{{ item }}.deb"
dest: "{{ downloads_dir }}/{{ item }}.deb"
mode: 0755
force: no
backup: no
timeout: "{{ download_timeout }}"
with_items:
- calibre{{ calibre_deb_version }}_all
- calibre-bin{{ calibre_deb_version }}_armhf
when: internet_available and is_rpi
- name: Install Calibre .debs on RPi
- name: Install Calibre .debs IF calibre_via_debs (AND /usr/bin/calibre WAS MISSING)
include_tasks: debs.yml
when: calibre_via_debs and is_rpi
- name: Install Calibre experimental .debs IF calibre_via_debs (AND /usr/bin/calibre WAS MISSING)
include_tasks: debs.yml
when: calibre_via_debs and not is_rpi and (not calib_executable.stat.exists)
when: calibre_via_debs and (not calib_executable.stat.exists)
- name: Install Calibre via calibre-installer.py IF calibre_via_python (AND /usr/bin/calibre WAS MISSING)
include_tasks: py-installer.yml