- 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 }}"
+- 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