mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
calibre-web/tasks/main.yml 3 Short URL's
This commit is contained in:
parent
fcc45c5b41
commit
8f5240b3be
1 changed files with 9 additions and 5 deletions
|
@ -59,7 +59,7 @@
|
||||||
dest: "{{ calibreweb_venv_path }}/vendor"
|
dest: "{{ calibreweb_venv_path }}/vendor"
|
||||||
state: link
|
state: link
|
||||||
|
|
||||||
- name: Install unit file /etc/systemd/system/calibre-web.service & /etc/apache2/sites-available/calibre-web.conf for http://box{{ calibreweb_url }}, from templates
|
- name: Install unit file /etc/systemd/system/calibre-web.service & /etc/apache2/sites-available/calibre-web.conf for http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} from templates
|
||||||
template:
|
template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
dest: "{{ item.dest }}"
|
dest: "{{ item.dest }}"
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
|
|
||||||
# Default: http://box/books
|
# Default: http://box/books
|
||||||
# SEE ALSO: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy
|
# SEE ALSO: https://github.com/janeczku/calibre-web/wiki/Setup-Reverse-Proxy
|
||||||
- name: Enable http://box{{ calibreweb_url }} with Apache
|
- name: Enable http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} with Apache
|
||||||
command: a2ensite calibre-web.conf
|
command: a2ensite calibre-web.conf
|
||||||
when: calibreweb_enabled | bool
|
when: calibreweb_enabled | bool
|
||||||
|
|
||||||
|
@ -126,7 +126,7 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not calibreweb_enabled
|
when: not calibreweb_enabled
|
||||||
|
|
||||||
- name: Disable http://box{{ calibreweb_url }} with Apache
|
- name: Disable http://box{{ calibreweb_url1 }}, http://box{{ calibreweb_url2 }}, http://box{{ calibreweb_url3 }} with Apache
|
||||||
command: a2dissite calibre-web.conf
|
command: a2dissite calibre-web.conf
|
||||||
when: not calibreweb_enabled
|
when: not calibreweb_enabled
|
||||||
|
|
||||||
|
@ -150,8 +150,12 @@
|
||||||
value: calibre-web
|
value: calibre-web
|
||||||
- option: description
|
- option: description
|
||||||
value: '"calibre-web is a web app providing a clean interface for browsing, reading and downloading e-books."'
|
value: '"calibre-web is a web app providing a clean interface for browsing, reading and downloading e-books."'
|
||||||
- option: calibreweb_url
|
- option: calibreweb_url1
|
||||||
value: "{{ calibreweb_url }}"
|
value: "{{ calibreweb_url1 }}"
|
||||||
|
- option: calibreweb_url2
|
||||||
|
value: "{{ calibreweb_url2 }}"
|
||||||
|
- option: calibreweb_url3
|
||||||
|
value: "{{ calibreweb_url3 }}"
|
||||||
- option: calibreweb_path
|
- option: calibreweb_path
|
||||||
value: "{{ calibreweb_venv_path }}"
|
value: "{{ calibreweb_venv_path }}"
|
||||||
- option: calibreweb_home
|
- option: calibreweb_home
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue