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 2017-11-20 03:03:25 -05:00 committed by GitHub
parent 7a4a9211a1
commit 921ee0d2c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
# INSTALL THE LATEST CALIBRE (calibre-server etc) ON ALL OS'S # 1. INSTALL THE LATEST CALIBRE (calibre-server etc) ON ALL OS'S
# RUNS IF /usr/bin/calibre-uninstall DOES NOT ALEADY EXIST # RUNS IF /usr/bin/calibre-uninstall DOES NOT ALEADY EXIST
- name: Install Calibre via calibre-installer.py (OS's other than Raspbian) - name: Install Calibre via calibre-installer.py (OS's other than Raspbian)
@ -10,7 +10,7 @@
include_tasks: debs.yml include_tasks: debs.yml
when: is_rpi when: is_rpi
# CREATE CALIBRE DATABASE WITH A SAMPLE BOOK # 2. CREATE CALIBRE DATABASE WITH A SAMPLE BOOK
- name: Check if /library/calibre/metadata.db exists - name: Check if /library/calibre/metadata.db exists
stat: stat:
@ -21,7 +21,7 @@
include_tasks: config-db.yml include_tasks: config-db.yml
when: not calibre_db.stat.exists when: not calibre_db.stat.exists
# WRAP UP CALIBRE INSTALLATION # 3. WRAP UP CALIBRE INSTALLATION
- name: Create calibre-serve.service and calibre.conf - name: Create calibre-serve.service and calibre.conf
template: template:
@ -55,9 +55,9 @@
name: calibre-serve name: calibre-serve
enabled: yes enabled: yes
state: started state: started
#async: 900
#poll: 5
when: calibre_enabled when: calibre_enabled
#async: 900
#poll: 5
#- name: Disable Calibre service -- stops calibre-server by Kovid Goyal #- name: Disable Calibre service -- stops calibre-server by Kovid Goyal
# service: name=calibre-serve # service: name=calibre-serve