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
edx
configuration
Commits
b9c6618e
Commit
b9c6618e
authored
Dec 02, 2016
by
Kevin Falcone
Committed by
GitHub
Dec 02, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3519 from edx/jibsheet/revert-openstack-overriding-aws
Jibsheet/revert openstack overriding aws
parents
57c5e32d
5306d90b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
playbooks/roles/edxapp/defaults/main.yml
+0
-1
playbooks/roles/edxapp/meta/main.yml
+0
-2
playbooks/roles/openstack/tasks/main.yml
+14
-5
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
b9c6618e
...
...
@@ -55,7 +55,6 @@ EDXAPP_SWIFT_REGION_NAME: "None"
EDXAPP_SWIFT_USE_TEMP_URLS
:
false
EDXAPP_SWIFT_TEMP_URL_KEY
:
"
None"
EDXAPP_SWIFT_TEMP_URL_DURATION
:
1800
# seconds
EDXAPP_USE_SWIFT_STORAGE
:
false
EDXAPP_DEFAULT_FILE_STORAGE
:
"
django.core.files.storage.FileSystemStorage"
EDXAPP_XQUEUE_BASIC_AUTH
:
[
"
{{
COMMON_HTPASSWD_USER
}}"
,
"
{{
COMMON_HTPASSWD_PASS
}}"
]
EDXAPP_XQUEUE_DJANGO_AUTH
:
...
...
playbooks/roles/edxapp/meta/main.yml
View file @
b9c6618e
...
...
@@ -8,5 +8,3 @@ dependencies:
theme_users
:
-
"
{{
edxapp_user
}}"
when
:
"
{{
EDXAPP_ENABLE_COMPREHENSIVE_THEMING
}}"
-
role
:
openstack
when
:
"
{{
EDXAPP_USE_SWIFT_STORAGE
}}"
playbooks/roles/openstack/tasks/main.yml
View file @
b9c6618e
...
...
@@ -50,8 +50,17 @@
dest
:
"
{{
COMMON_OBJECT_STORE_LOG_SYNC_SCRIPT
}}"
when
:
COMMON_OBJECT_STORE_LOG_SYNC
# We want to ensure that OpenStack requirements are installed at the same time as edxapp
# requirements so that they're available during the initial migration.
-
name
:
make sure Openstack Python requirements get installed
set_fact
:
edxapp_requirements_files
:
"
{{
edxapp_requirements_files
+
[openstack_requirements_file]
}}"
# Install openstack python requirements into {{ edxapp_venv_dir }}
-
name
:
Install python requirements
# Need to use command rather than pip so that we can maintain the context of our current working directory;
# 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