mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +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
|
version: master
|
||||||
when: internet_available
|
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.
|
- name: Download calibre-web dependencies into vendor subdirectory.
|
||||||
pip:
|
command: pip install --target vendor -r ./requirements.txt
|
||||||
requirements: "{{ calibreweb_path }}/requirements.txt"
|
args:
|
||||||
#chdir: "{{ calibreweb_path }}"
|
chdir: "{{ calibreweb_path }}"
|
||||||
extra_args: '--target vendor'
|
ignore_errors: True
|
||||||
ignore_errors: True
|
when: internet_available
|
||||||
|
|
||||||
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
- name: Create calibre-web systemd service unit and httpd2 configuration.
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue