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
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:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
owner: "{{ calibreweb_user }}"
|
owner: "{{ calibreweb_user }}"
|
||||||
|
@ -11,7 +11,7 @@
|
||||||
- "{{ calibreweb_config }}"
|
- "{{ calibreweb_config }}"
|
||||||
|
|
||||||
## TODO: Calibre-web future release might get into pypi https://github.com/janeczku/calibre-web/issues/456
|
## 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:
|
git:
|
||||||
repo: https://github.com/janeczku/calibre-web.git
|
repo: https://github.com/janeczku/calibre-web.git
|
||||||
dest: "{{ calibreweb_path }}"
|
dest: "{{ calibreweb_path }}"
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
# extra_args: '--target vendor'
|
# extra_args: '--target vendor'
|
||||||
# ignore_errors: True
|
# 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
|
- name: Download calibre-web dependencies into vendor subdirectory
|
||||||
command: pip install --target vendor -r ./requirements.txt
|
command: pip install --target vendor -r ./requirements.txt
|
||||||
args:
|
args:
|
||||||
|
@ -94,11 +94,11 @@
|
||||||
state: stopped
|
state: stopped
|
||||||
when: not calibreweb_enabled
|
when: not calibreweb_enabled
|
||||||
|
|
||||||
- name: Disable calibre-web httpd2 site.
|
- name: Disable calibre-web httpd2 site
|
||||||
command: a2dissite calibre-web.conf
|
command: a2dissite calibre-web.conf
|
||||||
when: not calibreweb_enabled
|
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
|
# command: apachectl -k graceful
|
||||||
# when: not calibreweb_enabled
|
# when: not calibreweb_enabled
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
- option: name
|
- option: name
|
||||||
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 eBooks."'
|
value: '"calibre-web is a web app providing a clean interface for browsing, reading and downloading e-books."'
|
||||||
- option: calibreweb_url
|
- option: calibreweb_url
|
||||||
value: "{{ calibreweb_url }}"
|
value: "{{ calibreweb_url }}"
|
||||||
- option: calibreweb_path
|
- option: calibreweb_path
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue