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:32:40 -05:00 committed by GitHub
parent ed24c66b3b
commit d69a98828b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,11 +4,12 @@
- name: Install Calibre via calibre-installer.py (OS's other than Raspbian)
include_tasks: py-installer.yml
when: not is_rpi
#when: not calibre_db.stat.exists and (is_redhat or is_ubuntu)
#when: is_redhat or is_ubuntu
- name: Install Calibre via .debs (Raspbian)
include_tasks: debs.yml
when: is_rpi
#when: is_rpi or is_debian #is_debian apparently also covers is_rpi
# 2. STOP CALIBRE SERVICE IF IT EXISTS (REQUIRED FOR DATABASE ACTIVITY...AND IF not calibre_enabled)
@ -35,7 +36,7 @@
include_tasks: create-db.yml
when: not calibre_db.stat.exists
# 4. WRAP UP: ESTABLISH CALIBRE SERVICE, http://box/books ETC
# 4. WRAP UP: CALIBRE SERVICE, http://box/books ETC
- name: Create calibre-serve.service and calibre.conf
template:
@ -62,7 +63,7 @@
file:
dest: /etc/apache2/sites-enabled/calibre.conf
state: absent
when: not calibre_enabled and is_debuntu
when: (not calibre_enabled) and is_debuntu
- name: Enable Calibre service -- runs calibre-server by Kovid Goyal
service: