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-06-27 16:52:14 -04:00 committed by GitHub
parent 85f75bdad4
commit 92d2813de8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,14 +5,15 @@
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 appear unecessary as of 2018-06-26 -- as tested on RPi.
#- 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