mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
Revert: Ansible Pip module bug bites
This commit is contained in:
parent
7a6a8bf4c2
commit
ede6306692
1 changed files with 14 additions and 6 deletions
|
@ -20,13 +20,21 @@
|
|||
version: master
|
||||
when: internet_available
|
||||
|
||||
# Ansible Bug: Cannot use 'chdir' with 'extra_args' https://github.com/ansible/ansible/issues/37912 (Patch landed)
|
||||
## Ansible Pip Bug: Cannot use 'chdir' with 'env' https://github.com/ansible/ansible/issues/37912 (Patch landed)
|
||||
#- name: Download calibre-web dependencies into vendor subdirectory.
|
||||
# pip:
|
||||
# requirements: "{{ calibreweb_path }}/requirements.txt"
|
||||
# chdir: "{{ calibreweb_path }}"
|
||||
# extra_args: '--target vendor'
|
||||
# ignore_errors: True
|
||||
##
|
||||
# Implmenting this with Ansible command module for now.
|
||||
- name: Download calibre-web dependencies into vendor subdirectory.
|
||||
pip:
|
||||
requirements: "{{ calibreweb_path }}/requirements.txt"
|
||||
#chdir: "{{ calibreweb_path }}"
|
||||
extra_args: '--target vendor'
|
||||
ignore_errors: True
|
||||
command: pip install --target vendor -r ./requirements.txt
|
||||
args:
|
||||
chdir: "{{ calibreweb_path }}"
|
||||
ignore_errors: True
|
||||
when: internet_available
|
||||
|
||||
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue