1
0
Fork 0
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:
Arky 2018-08-26 14:37:17 +07:00
parent 64a1b76f94
commit 8d198e62a2

View file

@ -20,11 +20,11 @@
version: master
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.
command: pip install --target vendor -r ./requirements.txt
args:
chdir: "{{ calibreweb_path }}"
pip:
requirements: requirements.txt
chdir: "{{ calibreweb_path }}"
extra_args: --target vendor
- name: Create calibre-web systemd service unit and httpd2 configuration.
template: