mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update main.yml
This commit is contained in:
parent
3b039e5f3c
commit
001976ae89
1 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
- name: Create calibre-web folders to store data and configuration files.
|
||||
- name: Create calibre-web folders to store data and configuration files
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
owner: "{{ calibreweb_user }}"
|
||||
|
@ -11,7 +11,7 @@
|
|||
- "{{ calibreweb_config }}"
|
||||
|
||||
## TODO: Calibre-web future release might get into pypi https://github.com/janeczku/calibre-web/issues/456
|
||||
- name: Download calibre-web github repository.
|
||||
- name: Download calibre-web github repository
|
||||
git:
|
||||
repo: https://github.com/janeczku/calibre-web.git
|
||||
dest: "{{ calibreweb_path }}"
|
||||
|
@ -28,7 +28,7 @@
|
|||
# extra_args: '--target vendor'
|
||||
# ignore_errors: True
|
||||
##
|
||||
# Implmenting this with Ansible command module for now.
|
||||
# Implementing this with Ansible command module for now.
|
||||
- name: Download calibre-web dependencies into vendor subdirectory
|
||||
command: pip install --target vendor -r ./requirements.txt
|
||||
args:
|
||||
|
@ -94,11 +94,11 @@
|
|||
state: stopped
|
||||
when: not calibreweb_enabled
|
||||
|
||||
- name: Disable calibre-web httpd2 site.
|
||||
- name: Disable calibre-web httpd2 site
|
||||
command: a2dissite calibre-web.conf
|
||||
when: not calibreweb_enabled
|
||||
|
||||
#- name: Restart Apache after disabling calibre-web httpd2 site.
|
||||
#- name: Restart Apache after disabling calibre-web httpd2 site
|
||||
# command: apachectl -k graceful
|
||||
# when: not calibreweb_enabled
|
||||
|
||||
|
@ -117,7 +117,7 @@
|
|||
- option: name
|
||||
value: calibre-web
|
||||
- option: description
|
||||
value: '"calibre-web is a web app providing a clean interface for browsing, reading and downloading eBooks."'
|
||||
value: '"calibre-web is a web app providing a clean interface for browsing, reading and downloading e-books."'
|
||||
- option: calibreweb_url
|
||||
value: "{{ calibreweb_url }}"
|
||||
- option: calibreweb_path
|
||||
|
|
Loading…
Reference in a new issue