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
01ed64ee
Commit
01ed64ee
authored
Jun 26, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix analytics config
parent
7b479485
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
playbooks/roles/edxlocal/tasks/main.yml
+12
-2
playbooks/vagrant-devstack.yml
+2
-0
playbooks/vagrant-fullstack.yml
+2
-0
No files found.
playbooks/roles/edxlocal/tasks/main.yml
View file @
01ed64ee
...
...
@@ -91,8 +91,18 @@
-
"
{{
EDXAPP_MYSQL_DB_NAME|default('None')
}}"
-
"
{{
XQUEUE_MYSQL_DB_NAME|default('None')
}}"
-
"
{{
ORA_MYSQL_DB_NAME|default('None')
}}"
-
"
{{
ANALYTICS_API_CONFIG['DATABASES']['default']['NAME']|default('None')
}}"
-
"
{{
ANALYTICS_API_CONFIG['DATABASES']['reports']['NAME']|default('None')
}}"
-
name
:
setup the migration db user for analytics
mysql_user
:
>
name={{ COMMON_MYSQL_MIGRATE_USER }}
password={{ COMMON_MYSQL_MIGRATE_PASS }}
priv='{{ item }}.*:ALL'
append_privs=yes
when
:
ANALYTICS_API_CONFIG is defined
with_items
:
-
"
{{
ANALYTICS_API_CONFIG['DATABASES']['default']['NAME']
}}"
-
"
{{
ANALYTICS_API_CONFIG['DATABASES']['reports']['NAME']
}}"
-
name
:
setup the read-only db user
mysql_user
:
>
...
...
playbooks/vagrant-devstack.yml
View file @
01ed64ee
...
...
@@ -26,3 +26,5 @@
-
browsers
-
local_dev
-
demo
-
role
:
analytics-api
when
:
ANALYTICS_API_GIT_IDENTITY
playbooks/vagrant-fullstack.yml
View file @
01ed64ee
...
...
@@ -38,4 +38,6 @@
-
{
role
:
"
xqueue"
,
update_users
:
True
}
-
ora
-
certs
-
role
:
analytics-api
when
:
ANALYTICS_API_GIT_IDENTITY
-
edx_ansible
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