mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Use command module instead of vendor
This commit is contained in:
parent
4012f29623
commit
d940ed6532
2 changed files with 3 additions and 4 deletions
|
@ -11,7 +11,7 @@ calibre_web_home: "{{ content_base }}/calibre-web"
|
||||||
calibre_web_http_port: 8083
|
calibre_web_http_port: 8083
|
||||||
calibre_web_url: /calibre-web
|
calibre_web_url: /calibre-web
|
||||||
calibre_web_path: "{{ iiab_base }}/calibre-web"
|
calibre_web_path: "{{ iiab_base }}/calibre-web"
|
||||||
calibre_web_exec_path: "{{ calibre_web_path }}/cps.py"
|
calibre_web_exec_path: "{{ calibre_web_path }}/cps.py"
|
||||||
|
|
||||||
# Calibre-web setup will be provisioned with default administration account, metadata.db and
|
# Calibre-web setup will be provisioned with default administration account, metadata.db and
|
||||||
# language. You could turn this to 'False' while reinstalling/upgrading calibre-web.
|
# language. You could turn this to 'False' while reinstalling/upgrading calibre-web.
|
||||||
|
|
|
@ -18,9 +18,8 @@
|
||||||
when: internet_available
|
when: internet_available
|
||||||
|
|
||||||
- name: Download calibre-web dependencies into vendor subdirectory.
|
- name: Download calibre-web dependencies into vendor subdirectory.
|
||||||
pip:
|
command: pip install --target vendor -r ./requirements.txt
|
||||||
requirements: "{{ calibre_web_path }}/requirements.txt"
|
args:
|
||||||
extra_args: "--target vendor --no-cache-dir"
|
|
||||||
chdir: "{{ calibre_web_path }}"
|
chdir: "{{ calibre_web_path }}"
|
||||||
|
|
||||||
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue