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
5a99bdab
Commit
5a99bdab
authored
Apr 28, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixes
parent
a8163c88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
playbooks/roles/ad_hoc_reporting/tasks/main.yml
+21
-9
No files found.
playbooks/roles/ad_hoc_reporting/tasks/main.yml
View file @
5a99bdab
...
@@ -41,7 +41,9 @@
...
@@ -41,7 +41,9 @@
mode=0755
mode=0755
with_items
:
with_items
:
-
/edx/bin
-
/edx/bin
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
# 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
...
@@ -55,7 +57,9 @@
...
@@ -55,7 +57,9 @@
db_name
:
"
{{
EDXAPP_MYSQL_DB_NAME
}}"
db_name
:
"
{{
EDXAPP_MYSQL_DB_NAME
}}"
script_name
:
edxapp-mysql.sh
script_name
:
edxapp-mysql.sh
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined
tags
:
-
scripts
-
name
:
install xqueue mysql replica scripts
-
name
:
install xqueue mysql replica scripts
template
:
>
template
:
>
src=edx/bin/mysql.sh.j2
src=edx/bin/mysql.sh.j2
...
@@ -65,19 +69,23 @@
...
@@ -65,19 +69,23 @@
-
db_host
:
"
{{
XQUEUE_MYSQL_REPLICA_HOST
}}"
-
db_host
:
"
{{
XQUEUE_MYSQL_REPLICA_HOST
}}"
db_name
:
"
{{
XQUEUE_MYSQL_DB_NAME
}}"
db_name
:
"
{{
XQUEUE_MYSQL_DB_NAME
}}"
script_name
:
xqueue-mysql.sh
script_name
:
xqueue-mysql.sh
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined and XQUEUE_MYSQL_DB_HOST is defined
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined and XQUEUE_MYSQL_REPLICA_HOST is defined
tags
:
-
scripts
-
name
:
install analytics api mysql replica scripts
-
name
:
install analytics api mysql replica scripts
template
:
>
template
:
>
src=edx/bin/mysql.sh.j2
src=edx/bin/mysql.sh.j2
dest=/edx/bin/{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}-{{ item.script_name }}
dest=/edx/bin/{{ COMMON_ENVIRONMENT }}-{{ COMMON_DEPLOYMENT }}-{{ item.script_name }}
mode=0755 owner=root group=root
mode=0755 owner=root group=root
with_items
:
with_items
:
-
db_host
:
"
{{
ANALYTICS_API_REPORTS_REPLICA_HOST
}}"
-
db_host
:
"
{{
ANALYTICS_API_REPORTS_REPLICA_
DB_
HOST
}}"
db_name
:
"
{{
ANALYTICS_API_REPORTS_DB_NAME
}}"
db_name
:
"
{{
ANALYTICS_API_REPORTS_DB_NAME
}}"
script_name
:
analytics-mysql.sh
script_name
:
analytics-mysql.sh
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined and XQUEUE_MYSQL_DB_HOST is defined
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined and ANALYTICS_API_REPORTS_REPLICA_DB_HOST is defined
tags
:
-
scripts
-
name
:
install ecommerce mysql replica scripts
-
name
:
install ecommerce mysql replica scripts
template
:
>
template
:
>
src=edx/bin/mysql.sh.j2
src=edx/bin/mysql.sh.j2
...
@@ -87,8 +95,9 @@
...
@@ -87,8 +95,9 @@
-
db_host
:
"
{{
ECOMMERCE_REPLICA_DB_HOST
}}"
-
db_host
:
"
{{
ECOMMERCE_REPLICA_DB_HOST
}}"
db_name
:
"
{{
ECOMMERCE_DEFAULT_DB_NAME
}}"
db_name
:
"
{{
ECOMMERCE_DEFAULT_DB_NAME
}}"
script_name
:
ecommerce-mysql.sh
script_name
:
ecommerce-mysql.sh
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined and XQUEUE_MYSQL_DB_HOST is defined
when
:
COMMON_MYSQL_READ_ONLY_PASS is defined and ECOMMERCE_REPLICA_DB_HOST is defined
tags
:
-
scripts
# These templates rely on there being a global
# These templates rely on there being a global
# read_only mongo user, you must override the default
# read_only mongo user, you must override the default
...
@@ -108,3 +117,5 @@
...
@@ -108,3 +117,5 @@
db_port
:
"
{{
FORUM_MONGO_PORT
}}"
db_port
:
"
{{
FORUM_MONGO_PORT
}}"
script_name
:
forum-mongo.sh
script_name
:
forum-mongo.sh
when
:
COMMON_MONGO_READ_ONLY_PASS is defined
when
:
COMMON_MONGO_READ_ONLY_PASS is defined
tags
:
-
scripts
\ No newline at end of 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