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
92292ecb
Commit
92292ecb
authored
Jun 12, 2015
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing scripts to connect to to prod dbs
parent
5bce2336
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
playbooks/roles/ad_hoc_reporting/tasks/main.yml
+15
-2
No files found.
playbooks/roles/ad_hoc_reporting/tasks/main.yml
View file @
92292ecb
...
...
@@ -44,9 +44,11 @@
tags
:
-
scripts
#
These templates rely on there being a global
#These templates rely on there being a global
# read_only mysql user, you must override the default
# in order for these templates to be written out
# in order for these templates to be written out.
#Also, all of the *_REPLICA_DB_HOST vars are only defined
# in secure config files.
-
name
:
install common mysql replica scripts
template
:
>
src=edx/bin/mysql.sh.j2
...
...
@@ -59,6 +61,7 @@
-
db_host
:
"
{{
EDXAPP_MYSQL_REPLICA_HOST
}}"
db_name
:
"
{{
EDXAPP_MYSQL_DB_NAME
}}"
script_name
:
edxapp-mysql.sh
#depends on no other vars
depends_on
:
True
-
db_host
:
"
{{
AD_HOC_REPORTING_XQUEUE_MYSQL_REPLICA_HOST
}}"
...
...
@@ -71,11 +74,21 @@
script_name
:
analytics-mysql.sh
depends_on
:
"
{{
AD_HOC_REPORTING_ANALYTICS_API_REPORTS_REPLICA_DB_HOST
|
default(None)
}}"
-
db_host
:
"
{{
AD_HOC_REPORTING_ANALYTICS_API_DEFAULT_DB_HOST
}}"
db_name
:
"
{{
ANALYTICS_API_DEFAULT_DB_NAME
}}"
script_name
:
analytics-django-mysql.sh
depends_on
:
"
{{
AD_HOC_REPORTING_ANALYTICS_API_DEFAULT_DB_HOST
|
default(None)
}}"
-
db_host
:
"
{{
AD_HOC_REPORTING_ECOMMERCE_REPLICA_DB_HOST
}}"
db_name
:
"
{{
ECOMMERCE_DEFAULT_DB_NAME
}}"
script_name
:
ecommerce-mysql.sh
depends_on
:
"
{{
AD_HOC_REPORTING_ECOMMERCE_REPLICA_DB_HOST
|
default(None)
}}"
-
db_host
:
"
{{
AD_HOC_REPORTING_INSIGHTS_REPLICA_DB_HOST
}}"
db_name
:
"
{{
INSIGHTS_DATABASE_NAME
}}"
script_name
:
insights-mysql.sh
depends_on
:
"
{{
AD_HOC_REPORTING_INSIGHTS_REPLICA_DB_HOST
|
default(None)
}}"
# These templates rely on there being a global
# read_only mongo user, you must override the default
# in order for these templates to be written out
...
...
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