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
ce880dd4
Commit
ce880dd4
authored
Oct 27, 2017
by
Ibrahim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
-define discovery_code_dir
parent
51a985f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
playbooks/roles/whitelabel/defaults/main.yml
+2
-0
playbooks/roles/whitelabel/tasks/main.yml
+2
-0
No files found.
playbooks/roles/whitelabel/defaults/main.yml
View file @
ce880dd4
...
@@ -2,3 +2,5 @@ WHITELABEL_MYSQL_COMMAND:
...
@@ -2,3 +2,5 @@ WHITELABEL_MYSQL_COMMAND:
-
"
CREATE
SCHEMA
discovery;"
-
"
CREATE
SCHEMA
discovery;"
-
"
CREATE
USER
'discov001'@'localhost'
IDENTIFIED
BY
'password';"
-
"
CREATE
USER
'discov001'@'localhost'
IDENTIFIED
BY
'password';"
-
"
GRANT
ALL
PRIVILEGES
ON
discovery.*
TO
'discov001'@'localhost';"
-
"
GRANT
ALL
PRIVILEGES
ON
discovery.*
TO
'discov001'@'localhost';"
discovery_code_dir
:
"
{{
discovery_home
}}/{{
discovery_service_name
}}"
playbooks/roles/whitelabel/tasks/main.yml
View file @
ce880dd4
...
@@ -35,5 +35,7 @@
...
@@ -35,5 +35,7 @@
-
name
:
Run Discovery migrations
-
name
:
Run Discovery migrations
shell
:
"
make
migrate"
shell
:
"
make
migrate"
args
:
chdir
:
"
{{
discovery_code_dir
}}"
become_user
:
"
{{
discovery_user
}}"
become_user
:
"
{{
discovery_user
}}"
environment
:
"
{{
discovery_environment
}}"
environment
:
"
{{
discovery_environment
}}"
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