mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
"when: calibre_enabled" restored to L36 & L44
This commit is contained in:
parent
20a76bf665
commit
35baf4d7e5
1 changed files with 3 additions and 2 deletions
|
@ -33,6 +33,7 @@
|
||||||
with_items:
|
with_items:
|
||||||
- { src: 'calibre-serve.service.j2', dest: '/etc/systemd/system/calibre-serve.service', mode: '0644'}
|
- { src: 'calibre-serve.service.j2', dest: '/etc/systemd/system/calibre-serve.service', mode: '0644'}
|
||||||
- { src: 'calibre.conf', dest: '/etc/{{ apache_config_dir }}', mode: '0644'}
|
- { src: 'calibre.conf', dest: '/etc/{{ apache_config_dir }}', mode: '0644'}
|
||||||
|
when: calibre_enabled
|
||||||
|
|
||||||
# http://box:8080 & http://box:8080/mobile WORK BUT OTHER URL'S LIKE http://box/books ARE A MESS (BOOKS RARELY DISPLAY)
|
# http://box:8080 & http://box:8080/mobile WORK BUT OTHER URL'S LIKE http://box/books ARE A MESS (BOOKS RARELY DISPLAY)
|
||||||
- name: Create calibre.conf link for UNTESTED http://box/books etc (debuntu)
|
- name: Create calibre.conf link for UNTESTED http://box/books etc (debuntu)
|
||||||
|
@ -40,7 +41,7 @@
|
||||||
src: /etc/apache2/sites-available/calibre.conf
|
src: /etc/apache2/sites-available/calibre.conf
|
||||||
dest: /etc/apache2/sites-enabled/calibre.conf
|
dest: /etc/apache2/sites-enabled/calibre.conf
|
||||||
state: link
|
state: link
|
||||||
when: is_debuntu
|
when: 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:
|
||||||
|
@ -63,7 +64,7 @@
|
||||||
# state=stopped
|
# state=stopped
|
||||||
# when: not calibre_enabled
|
# when: not calibre_enabled
|
||||||
|
|
||||||
- name: Add 'calibre-serve' to service list
|
- name: Add 'calibre-serve' to service list at /etc/iiab/iiab.ini
|
||||||
ini_file:
|
ini_file:
|
||||||
dest: "{{ service_filelist }}"
|
dest: "{{ service_filelist }}"
|
||||||
section: calibre
|
section: calibre
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue