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
b680fe8d
Commit
b680fe8d
authored
Oct 03, 2017
by
George Song
Committed by
GitHub
Oct 03, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4126 from edx/george/ospr-1876-ginkgo
Optional `aws` role and `EDXAPP_MYSQL_ATOMIC_REQUESTS`
parents
67b4c16b
af71be87
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
playbooks/edx-east/edxapp.yml
+2
-1
playbooks/roles/common_vars/defaults/main.yml
+2
-0
playbooks/roles/edxapp/defaults/main.yml
+2
-1
playbooks/roles/edxapp/tasks/deploy.yml
+1
-1
playbooks/roles/forum/tasks/main.yml
+1
-0
No files found.
playbooks/edx-east/edxapp.yml
View file @
b680fe8d
...
...
@@ -7,7 +7,8 @@
CLUSTER_NAME
:
'
edxapp'
serial
:
"
{{
serial_count
}}"
roles
:
-
aws
-
role
:
aws
when
:
COMMON_ENABLE_AWS_ROLE
-
role
:
automated
AUTOMATED_USERS
:
"
{{
EDXAPP_AUTOMATED_USERS
|
default({})
}}"
-
role
:
nginx
...
...
playbooks/roles/common_vars/defaults/main.yml
View file @
b680fe8d
...
...
@@ -223,3 +223,5 @@ COMMON_JWT_SECRET_KEY: 'SET-ME-PLEASE'
# Set worker user default
CREATE_SERVICE_WORKER_USERS
:
True
COMMON_ENABLE_AWS_ROLE
:
true
playbooks/roles/edxapp/defaults/main.yml
View file @
b680fe8d
...
...
@@ -79,6 +79,7 @@ EDXAPP_MYSQL_PASSWORD: 'password'
EDXAPP_MYSQL_PASSWORD_READ_ONLY
:
'
password'
EDXAPP_MYSQL_PASSWORD_ADMIN
:
'
password'
EDXAPP_MYSQL_OPTIONS
:
{}
EDXAPP_MYSQL_ATOMIC_REQUESTS
:
True
EDXAPP_MYSQL_REPLICA_DB_NAME
:
"
{{
EDXAPP_MYSQL_DB_NAME
}}"
EDXAPP_MYSQL_REPLICA_USER
:
"
{{
EDXAPP_MYSQL_USER
}}"
EDXAPP_MYSQL_REPLICA_PASSWORD
:
"
{{
EDXAPP_MYSQL_PASSWORD
}}"
...
...
@@ -825,7 +826,7 @@ edxapp_databases:
PASSWORD
:
"
{{
EDXAPP_MYSQL_PASSWORD
}}"
HOST
:
"
{{
EDXAPP_MYSQL_HOST
}}"
PORT
:
"
{{
EDXAPP_MYSQL_PORT
}}"
ATOMIC_REQUESTS
:
True
ATOMIC_REQUESTS
:
"
{{
EDXAPP_MYSQL_ATOMIC_REQUESTS
}}"
CONN_MAX_AGE
:
"
{{
EDXAPP_MYSQL_CONN_MAX_AGE
}}"
OPTIONS
:
"
{{
EDXAPP_MYSQL_OPTIONS
}}"
student_module_history
:
...
...
playbooks/roles/edxapp/tasks/deploy.yml
View file @
b680fe8d
...
...
@@ -300,7 +300,7 @@
-
install:app-requirements
-
name
:
compiling all py files in the edx-platform repo
shell
:
"
{{
edxapp_venv_bin
}}/python
-m
compileall
-q
-x
.git/.*
{{
edxapp_code_dir
}}"
shell
:
"
{{
edxapp_venv_bin
}}/python
-m
compileall
-q
-x
'.git/.*|node_modules/.*'
{{
edxapp_code_dir
}}"
become_user
:
"
{{
edxapp_user
}}"
tags
:
-
install
...
...
playbooks/roles/forum/tasks/main.yml
View file @
b680fe8d
...
...
@@ -56,6 +56,7 @@
tags
:
-
install
-
install:base
-
install:configuration
-
name
:
create {{ forum_data_dir }}
file
:
...
...
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