1
0
Fork 0
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:
Arky 2018-08-14 12:47:13 +07:00
parent 4012f29623
commit d940ed6532
2 changed files with 3 additions and 4 deletions

View file

@ -11,7 +11,7 @@ calibre_web_home: "{{ content_base }}/calibre-web"
calibre_web_http_port: 8083
calibre_web_url: /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
# language. You could turn this to 'False' while reinstalling/upgrading calibre-web.

View file

@ -18,9 +18,8 @@
when: internet_available
- name: Download calibre-web dependencies into vendor subdirectory.
pip:
requirements: "{{ calibre_web_path }}/requirements.txt"
extra_args: "--target vendor --no-cache-dir"
command: pip install --target vendor -r ./requirements.txt
args:
chdir: "{{ calibre_web_path }}"
- name: Create calibre-web systemd service unit and httpd2 configuration.