Code Review
/
infra
/
stack
/
kubernetes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Distribute dependencies
[infra/stack/kubernetes.git]
/
playbooks
/
roles
/
package
/
tasks
/
pip.yaml
diff --git
a/playbooks/roles/package/tasks/pip.yaml
b/playbooks/roles/package/tasks/pip.yaml
index a4a4642546926138eb61e0d7fe92396de18dd29c..d403ea7f666c9b6ddc2175ec2bbe2d1e9942af96 100644
(file)
--- a/
playbooks/roles/package/tasks/pip.yaml
+++ b/
playbooks/roles/package/tasks/pip.yaml
@@
-25,12
+25,20
@@
- absent
- directory
- absent
- directory
-- name: Download pip packages using requirements.txt file
+# NOTE (fdegir): This could perhaps be moved to a different playbook or to engine core
+# itself so the collection of core packages are common across stacks
+- name: Download engine core pip packages using requirements.txt file
command: "pip download -r {{ engine_path }}/requirements.txt --no-cache"
changed_when: false
args:
chdir: "{{ pip_folder }}"
command: "pip download -r {{ engine_path }}/requirements.txt --no-cache"
changed_when: false
args:
chdir: "{{ pip_folder }}"
+- name: Download stack pip packages using requirements.txt file
+ command: "pip download -r {{ engine_path }}/engine/stack/{{ stack_type }}/requirements.txt --no-cache"
+ changed_when: false
+ args:
+ chdir: "{{ pip_folder }}"
+
- name: Copy pip.conf
template:
src: pip.conf.j2
- name: Copy pip.conf
template:
src: pip.conf.j2