Unverified Commit 78482a2c by Feanil Patel Committed by GitHub

Merge pull request #4279 from open-craft/kshitij/install_openstack_requirements

Install OpenStack Python requirements if using OpenStack settings
parents 2643c97a a572dd7d
......@@ -1405,6 +1405,7 @@ base_requirements_file: "{{ edxapp_code_dir }}/requirements/edx/base.txt"
django_requirements_file: "{{ edxapp_code_dir }}/requirements/edx/django.txt"
post_requirements_file: "{{ edxapp_code_dir }}/requirements/edx/post.txt"
paver_requirements_file: "{{ edxapp_code_dir }}/requirements/edx/paver.txt"
openstack_requirements_file: "{{ edxapp_code_dir }}/requirements/edx/openstack.txt"
sandbox_base_requirements: "{{ edxapp_code_dir }}/requirements/edx-sandbox/base.txt"
sandbox_local_requirements: "{{ edxapp_code_dir }}/requirements/edx-sandbox/local.txt"
......
......@@ -132,7 +132,7 @@
- name: Stat each Python requirements file to ensure it exists
stat:
path: "{{ item }}"
with_items: "{{ edxapp_requirements_files }}"
with_items: "{{ edxapp_requirements_files }} + {{ [openstack_requirements_file] if EDXAPP_SETTINGS == 'openstack' else [] }}"
register: python_requirement_files
tags:
- install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment