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:
parent
85f75bdad4
commit
92d2813de8
1 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue