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
4ac2fed8
Commit
4ac2fed8
authored
Apr 11, 2016
by
Brian Beggs
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2949 from edx/bbeggs/te-1268
the go-server FQDN is now a variable passed to the playbook.
parents
6f549fe6
d9225fd1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
playbooks/go-server.yml
+3
-1
playbooks/roles/go-server/defaults/main.yml
+5
-0
playbooks/roles/go-server/templates/edx/app/go-server/cruise-config.xml.j2
+1
-1
No files found.
playbooks/go-server.yml
View file @
4ac2fed8
# ansible-playbook -i 'admin.edx.org,' ./hotg.yml -e@/path/to/ansible/vars/edx.yml -e@/path/to/secure/ansible/vars/edx_admin.yml
# This playbook installs go-server
# https://www.go.cd/
#
-
name
:
Install go-server
-
name
:
Install go-server
hosts
:
all
hosts
:
all
...
...
playbooks/roles/go-server/defaults/main.yml
View file @
4ac2fed8
...
@@ -44,6 +44,11 @@ GO_SERVER_ADMIN_PASSWORD: ""
...
@@ -44,6 +44,11 @@ GO_SERVER_ADMIN_PASSWORD: ""
GO_SERVER_BACKUP_USERNAME
:
"
"
GO_SERVER_BACKUP_USERNAME
:
"
"
GO_SERVER_BACKUP_PASSWORD
:
"
"
GO_SERVER_BACKUP_PASSWORD
:
"
"
# go-server network settings
GO_SERVER_PORT
:
8153
GO_SERVER_SECURE_PORT
:
8154
GO_SERVER_FQDN
:
go-server.sandbox.edx.org
# H2 db settings
# H2 db settings
GO_SERVER_H2DB_PATH
:
"
db/h2db"
GO_SERVER_H2DB_PATH
:
"
db/h2db"
GO_SERVER_H2DB_NAME
:
"
cruise.h2.db"
GO_SERVER_H2DB_NAME
:
"
cruise.h2.db"
...
...
playbooks/roles/go-server/templates/edx/app/go-server/cruise-config.xml.j2
View file @
4ac2fed8
<cruise xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="cruise-config.xsd" schemaVersion="77">
<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" agentAutoRegisterKey="{{ GO_SERVER_AUTO_REGISTER_KEY }}">
<server artifactsdir="artifacts" siteUrl="http://{{
GO_SERVER_FQDN }}:{{ GO_SERVER_PORT }}" secureSiteUrl="https://{{ GO_SERVER_FQDN }}:{{ GO_SERVER_SECURE_PORT }}
" commandRepositoryLocation="default" serverId="d3a0287d-7698-4afe-a687-c165e8295918" agentAutoRegisterKey="{{ GO_SERVER_AUTO_REGISTER_KEY }}">
<security>
<security>
<passwordFile path="{{ GO_SERVER_CONF_HOME }}/{{ GO_SERVER_PASSWORD_FILE_NAME }}" />
<passwordFile path="{{ GO_SERVER_CONF_HOME }}/{{ GO_SERVER_PASSWORD_FILE_NAME }}" />
<admins>
<admins>
...
...
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