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
fce3558d
Commit
fce3558d
authored
9 years ago
by
Brian Beggs
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2842 from edx/bbeggs/go-server
Adding go-server auto register key.
parents
9404f407
9eb40eaf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
playbooks/roles/go-server/defaults/main.yml
+4
-0
playbooks/roles/go-server/templates/edx/app/go-server/cruise-config.xml.j2
+1
-1
No files found.
playbooks/roles/go-server/defaults/main.yml
View file @
fce3558d
...
...
@@ -42,3 +42,6 @@ GO_SERVER_OAUTH_LOGIN_JAR_DESTINATION: "{{ GO_SERVER_HOME }}/plugins/external/"
GO_SERVER_PASSWORD_FILE_NAME
:
"
password.txt"
GO_SERVER_ADMIN_USERS
:
[
"
admin"
]
GO_SERVER_CRUISE_CONTROL_DB_DESTIONATION
:
"
/var/lib/go-server/db/h2db/cruise.h2.db"
# key for go-agents to autoregister with the go-server
GO_SERVER_AUTO_REGISTER_KEY
:
"
dev-only-override-this-key"
\ No newline at end of file
This diff is collapsed.
Click to expand it.
playbooks/roles/go-server/templates/edx/app/go-server/cruise-config.xml.j2
View file @
fce3558d
<cruise xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cruise-config.xsd" schemaVersion="77">
<server artifactsdir="artifacts" siteUrl="http://{{ ansible_fqdn }}:8153" secureSiteUrl="https://{{ ansible_fqdn }}:8154" commandRepositoryLocation="default" serverId="d3a0287d-7698-4afe-a687-c165e8295918">
<server artifactsdir="artifacts" siteUrl="http://{{ ansible_fqdn }}:8153" secureSiteUrl="https://{{ ansible_fqdn }}:8154" commandRepositoryLocation="default" serverId="d3a0287d-7698-4afe-a687-c165e8295918"
agentAutoRegisterKey="{{ GO_SERVER_AUTO_REGISTER_KEY }}"
>
<security>
<passwordFile path="{{ GO_SERVER_CONF_HOME }}/{{ GO_SERVER_PASSWORD_FILE_NAME }}" />
<admins>
...
...
This diff is collapsed.
Click to expand it.
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