Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
2517caf3
Commit
2517caf3
authored
Aug 12, 2016
by
Sven Marnach
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix openstack requirements installation.
parent
233db39e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
playbooks/edx_sandbox.yml
+2
-0
playbooks/roles/openstack/tasks/main.yml
+3
-14
No files found.
playbooks/edx_sandbox.yml
View file @
2517caf3
...
@@ -40,6 +40,8 @@
...
@@ -40,6 +40,8 @@
-
role
:
mongo
-
role
:
mongo
when
:
"
'localhost'
in
EDXAPP_MONGO_HOSTS"
when
:
"
'localhost'
in
EDXAPP_MONGO_HOSTS"
-
{
role
:
'
rabbitmq'
,
rabbitmq_ip
:
'
127.0.0.1'
}
-
{
role
:
'
rabbitmq'
,
rabbitmq_ip
:
'
127.0.0.1'
}
-
role
:
openstack
when
:
EDXAPP_SETTINGS == 'openstack'
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
-
{
role
:
'
edxapp'
,
celery_worker
:
True
}
-
edxapp
-
edxapp
-
role
:
ecommerce
-
role
:
ecommerce
...
...
playbooks/roles/openstack/tasks/main.yml
View file @
2517caf3
...
@@ -50,17 +50,6 @@
...
@@ -50,17 +50,6 @@
dest
:
"
{{
COMMON_OBJECT_STORE_LOG_SYNC_SCRIPT
}}"
dest
:
"
{{
COMMON_OBJECT_STORE_LOG_SYNC_SCRIPT
}}"
when
:
COMMON_OBJECT_STORE_LOG_SYNC
when
:
COMMON_OBJECT_STORE_LOG_SYNC
# Install openstack python requirements into {{ edxapp_venv_dir }}
-
name
:
make sure Openstack Python requirements get installed
-
name
:
Install python requirements
set_fact
:
# Need to use command rather than pip so that we can maintain the context of our current working directory;
edxapp_requirements_files
:
"
{{
edxapp_requirements_files
+
[openstack_requirements_file]
}}"
# some requirements are pathed relative to the edx-platform repo.
# Using the pip from inside the virtual environment implicitly installs everything into that virtual environment.
command
:
>
{{ edxapp_venv_dir }}/bin/pip install {{ COMMON_PIP_VERBOSITY }} -i {{ COMMON_PYPI_MIRROR_URL }} --exists-action w -r {{ openstack_requirements_file }}
chdir={{ edxapp_code_dir }}
sudo_user
:
"
{{
edxapp_user
}}"
environment
:
"
{{
edxapp_environment
}}"
when
:
edxapp_code_dir is defined
tags
:
-
install
-
install:app-requirements
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment