mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Refactor: Use pip extra_args to handle 'pip install --target vendor'
This commit is contained in:
parent
64a1b76f94
commit
8d198e62a2
1 changed files with 4 additions and 4 deletions
|
@ -20,11 +20,11 @@
|
||||||
version: master
|
version: master
|
||||||
when: internet_available
|
when: internet_available
|
||||||
|
|
||||||
## TODO: Use Ansible native pip module for this. How do you use --target vendor ?
|
|
||||||
- name: Download calibre-web dependencies into vendor subdirectory.
|
- name: Download calibre-web dependencies into vendor subdirectory.
|
||||||
command: pip install --target vendor -r ./requirements.txt
|
pip:
|
||||||
args:
|
requirements: requirements.txt
|
||||||
chdir: "{{ calibreweb_path }}"
|
chdir: "{{ calibreweb_path }}"
|
||||||
|
extra_args: --target vendor
|
||||||
|
|
||||||
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue