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
ed24c66b3b
commit
d69a98828b
1 changed files with 4 additions and 3 deletions
|
@ -4,11 +4,12 @@
|
||||||
- name: Install Calibre via calibre-installer.py (OS's other than Raspbian)
|
- name: Install Calibre via calibre-installer.py (OS's other than Raspbian)
|
||||||
include_tasks: py-installer.yml
|
include_tasks: py-installer.yml
|
||||||
when: not is_rpi
|
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)
|
- name: Install Calibre via .debs (Raspbian)
|
||||||
include_tasks: debs.yml
|
include_tasks: debs.yml
|
||||||
when: is_rpi
|
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)
|
# 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
|
include_tasks: create-db.yml
|
||||||
when: not calibre_db.stat.exists
|
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
|
- name: Create calibre-serve.service and calibre.conf
|
||||||
template:
|
template:
|
||||||
|
@ -62,7 +63,7 @@
|
||||||
file:
|
file:
|
||||||
dest: /etc/apache2/sites-enabled/calibre.conf
|
dest: /etc/apache2/sites-enabled/calibre.conf
|
||||||
state: absent
|
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
|
- name: Enable Calibre service -- runs calibre-server by Kovid Goyal
|
||||||
service:
|
service:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue