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
2e47edd8
Commit
2e47edd8
authored
Mar 08, 2016
by
Brian Beggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding go-agent docker server role
parent
e66ecee8
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
74 additions
and
0 deletions
+74
-0
playbooks/go-agent-docker.yml
+9
-0
playbooks/roles/go-agent-docker-server/README.md
+2
-0
playbooks/roles/go-agent-docker-server/defaults/main.yml
+19
-0
playbooks/roles/go-agent-docker-server/tasks/main.yml
+40
-0
playbooks/roles/go-agent-docker-server/templates/edx/app/go-agent-docker-server/autoregister.properties.j2
+4
-0
No files found.
playbooks/go-agent-docker.yml
0 → 100644
View file @
2e47edd8
# ansible-playbook -i 'admin.edx.org,' ./hotg.yml -e@/path/to/ansible/vars/edx.yml -e@/path/to/secure/ansible/vars/edx_admin.yml
-
name
:
Install go-agent-docker-server
hosts
:
all
sudo
:
True
gather_facts
:
True
roles
:
-
aws
-
go-agent-docker-server
playbooks/roles/go-agent-docker-server/README.md
0 → 100644
View file @
2e47edd8
##In order to use this role you must use a specific set of AMIs
[
This role is for use with the AWS ECS AMIs listed here
](
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html
)
playbooks/roles/go-agent-docker-server/defaults/main.yml
0 → 100644
View file @
2e47edd8
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
# Defaults for role go-agent-docker-server
#
# key for go-agents to autoregister with the go-server
GO_SERVER_AUTO_REGISTER_KEY
:
"
dev-only-override-this-key"
GO_AGENT_DOCKER_RESOURCES
:
"
tubular,python"
GO_AGENT_DOCKER_ENVIRONMENT
:
"
sandbox"
GO_AGENT_DOCKER_CONF_HOME
:
"
/tmp/go-agent/conf"
\ No newline at end of file
playbooks/roles/go-agent-docker-server/tasks/main.yml
0 → 100644
View file @
2e47edd8
---
#
# edX Configuration
#
# github: https://github.com/edx/configuration
# wiki: https://github.com/edx/configuration/wiki
# code style: https://github.com/edx/configuration/wiki/Ansible-Coding-Conventions
# license: https://github.com/edx/configuration/blob/master/LICENSE.TXT
#
#
#
# Tasks for role go-agent-docker-server
#
# Overview:
#
# Deploys go-server using aptitude!
#
# Dependencies:
# - openjdk7
#
# Example play:
#
# - name: Configure instance(s)
# hosts: go-server
# sudo: True
# vars_files:
# - "{{ secure_dir }}/admin/sandbox.yml"
# gather_facts: True
# roles:
# - common
#
-
name
:
install go-server configuration
template
:
src
:
edx/app/go-agent-docker-server/autoregister.properties.j2
dest
:
"
{{
GO_AGENT_DOCKER_CONF_HOME
}}/autoregister.properties"
mode
:
0600
owner
:
root
group
:
root
playbooks/roles/go-agent-docker-server/templates/edx/app/go-agent-docker-server/autoregister.properties.j2
0 → 100644
View file @
2e47edd8
agent.auto.register.key={{ GO_SERVER_AUTO_REGISTER_KEY }}
agent.auto.register.resources={{ GO_AGENT_DOCKER_RESOURCES }}
agent.auto.register.environments={{ GO_AGENT_DOCKER_ENVIRONMENT }}
\ 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