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
89ae5649
Commit
89ae5649
authored
Dec 12, 2016
by
Brian Beggs
Committed by
Feanil Patel
Dec 14, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update programs and ecommerce overrides
parent
273642b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
12 deletions
+21
-12
playbooks/roles/ecommerce/defaults/main.yml
+8
-4
playbooks/roles/edxlocal/defaults/main.yml
+4
-4
playbooks/roles/programs/defaults/main.yml
+9
-4
No files found.
playbooks/roles/ecommerce/defaults/main.yml
View file @
89ae5649
...
@@ -21,16 +21,20 @@ ECOMMERCE_NGINX_PORT: "18130"
...
@@ -21,16 +21,20 @@ ECOMMERCE_NGINX_PORT: "18130"
ECOMMERCE_SSL_NGINX_PORT
:
48130
ECOMMERCE_SSL_NGINX_PORT
:
48130
ECOMMERCE_DEFAULT_DB_NAME
:
'
ecommerce'
ECOMMERCE_DEFAULT_DB_NAME
:
'
ecommerce'
ECOMMERCE_DATABASE_USER
:
"
ecomm001"
ECOMMERCE_DATABASE_PASSWORD
:
"
password"
ECOMMERCE_DATABASE_HOST
:
"
localhost"
ECOMMERCE_DATABASE_PORT
:
3306
ECOMMERCE_DATABASES
:
ECOMMERCE_DATABASES
:
# rw user
# rw user
default
:
default
:
ENGINE
:
'
django.db.backends.mysql'
ENGINE
:
'
django.db.backends.mysql'
NAME
:
'
{{
ECOMMERCE_DEFAULT_DB_NAME
}}'
NAME
:
'
{{
ECOMMERCE_DEFAULT_DB_NAME
}}'
USER
:
'
ecomm001
'
USER
:
'
{{
ECOMMERCE_DATABASE_USER
}}
'
PASSWORD
:
'
password
'
PASSWORD
:
'
{{
ECOMMERCE_DATABASE_PASSWORD
}}
'
HOST
:
'
localhost
'
HOST
:
'
{{
ECOMMERCE_DATABASE_HOST
}}
'
PORT
:
'
3306
'
PORT
:
'
{{
ECOMMERCE_DATABASE_PORT
}}
'
ATOMIC_REQUESTS
:
true
ATOMIC_REQUESTS
:
true
CONN_MAX_AGE
:
60
CONN_MAX_AGE
:
60
...
...
playbooks/roles/edxlocal/defaults/main.yml
View file @
89ae5649
...
@@ -19,8 +19,8 @@ edxlocal_databases:
...
@@ -19,8 +19,8 @@ edxlocal_databases:
edxlocal_database_users
:
edxlocal_database_users
:
-
{
-
{
db
:
"
{{
ECOMMERCE_DEFAULT_DB_NAME
|
default(None)
}}"
,
db
:
"
{{
ECOMMERCE_DEFAULT_DB_NAME
|
default(None)
}}"
,
user
:
"
{{
ECOMMERCE_DATABASE
S.default.
USER
|
default(None)
}}"
,
user
:
"
{{
ECOMMERCE_DATABASE
_
USER
|
default(None)
}}"
,
pass
:
"
{{
ECOMMERCE_DATABASE
S.default.
PASSWORD
|
default(None)
}}"
pass
:
"
{{
ECOMMERCE_DATABASE
_
PASSWORD
|
default(None)
}}"
}
}
-
{
-
{
db
:
"
{{
INSIGHTS_DATABASE_NAME
|
default(None)
}}"
,
db
:
"
{{
INSIGHTS_DATABASE_NAME
|
default(None)
}}"
,
...
@@ -44,8 +44,8 @@ edxlocal_database_users:
...
@@ -44,8 +44,8 @@ edxlocal_database_users:
}
}
-
{
-
{
db
:
"
{{
PROGRAMS_DEFAULT_DB_NAME
|
default(None)
}}"
,
db
:
"
{{
PROGRAMS_DEFAULT_DB_NAME
|
default(None)
}}"
,
user
:
"
{{
PROGRAMS_DATABASE
S.default.
USER
|
default(None)
}}"
,
user
:
"
{{
PROGRAMS_DATABASE
_
USER
|
default(None)
}}"
,
pass
:
"
{{
PROGRAMS_DATABASE
S.default.
PASSWORD
|
default(None)
}}"
pass
:
"
{{
PROGRAMS_DATABASE
_
PASSWORD
|
default(None)
}}"
}
}
-
{
-
{
db
:
"
{{
ANALYTICS_PIPELINE_OUTPUT_DATABASE_NAME
|
default(None)
}}"
,
db
:
"
{{
ANALYTICS_PIPELINE_OUTPUT_DATABASE_NAME
|
default(None)
}}"
,
...
...
playbooks/roles/programs/defaults/main.yml
View file @
89ae5649
...
@@ -21,15 +21,20 @@ PROGRAMS_SSL_NGINX_PORT: 48140
...
@@ -21,15 +21,20 @@ PROGRAMS_SSL_NGINX_PORT: 48140
PROGRAMS_DEFAULT_DB_NAME
:
'
programs'
PROGRAMS_DEFAULT_DB_NAME
:
'
programs'
PROGRAMS_DATABASE_USER
:
'
programs001'
PROGRAMS_DATABASE_PASSWORD
:
'
password'
PROGRAMS_DATABASE_HOST
:
'
localhost'
PROGRAMS_DATABASE_PORT
:
3306
PROGRAMS_DATABASES
:
PROGRAMS_DATABASES
:
# rw user
# rw user
default
:
default
:
ENGINE
:
'
django.db.backends.mysql'
ENGINE
:
'
django.db.backends.mysql'
NAME
:
'
{{
PROGRAMS_DEFAULT_DB_NAME
}}'
NAME
:
'
{{
PROGRAMS_DEFAULT_DB_NAME
}}'
USER
:
'
programs001
'
USER
:
'
{{
PROGRAMS_DATABASE_USER
}}
'
PASSWORD
:
'
password
'
PASSWORD
:
'
{{
PROGRAMS_DATABASE_PASSWORD
}}
'
HOST
:
'
localhost
'
HOST
:
'
{{
PROGRAMS_DATABASE_HOST
}}
'
PORT
:
'
3306
'
PORT
:
'
{{
PROGRAMS_DATABASE_PORT
}}
'
ATOMIC_REQUESTS
:
true
ATOMIC_REQUESTS
:
true
CONN_MAX_AGE
:
60
CONN_MAX_AGE
:
60
...
...
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