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
4f8f65b6
Commit
4f8f65b6
authored
Sep 20, 2017
by
syed-awais-ali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
terminating sandbox on shutdown
parent
63020d2d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
playbooks/edx-east/edx_provision.yml
+2
-0
playbooks/roles/launch_ec2/tasks/main.yml
+1
-0
util/jenkins/ansible-provision.sh
+5
-0
No files found.
playbooks/edx-east/edx_provision.yml
View file @
4f8f65b6
...
...
@@ -18,6 +18,7 @@
owner
:
temp
root_ebs_size
:
50
dns_name
:
temp
instance_initiated_shutdown_behavior
:
stop
dns_zone
:
sandbox.edx.org
name_tag
:
sandbox-temp
elb
:
false
...
...
@@ -33,6 +34,7 @@
-
role
:
launch_ec2
keypair
:
"
{{
keypair
}}"
instance_type
:
"
{{
instance_type
}}"
instance_initiated_shutdown_behavior
:
"
{{
instance_initiated_shutdown_behavior
}}"
security_group
:
"
{{
security_group
}}"
ami
:
"
{{
ami
}}"
region
:
"
{{
region
}}"
...
...
playbooks/roles/launch_ec2/tasks/main.yml
View file @
4f8f65b6
...
...
@@ -40,6 +40,7 @@
keypair
:
"
{{
keypair
}}"
group
:
"
{{
security_group
}}"
instance_type
:
"
{{
instance_type
}}"
instance_initiated_shutdown_behavior
:
"
{{
instance_initiated_shutdown_behavior
}}"
image
:
"
{{
ami
}}"
vpc_subnet_id
:
"
{{
vpc_subnet_id
}}"
assign_public_ip
:
yes
...
...
util/jenkins/ansible-provision.sh
View file @
4f8f65b6
...
...
@@ -137,6 +137,10 @@ if [[ -z $instance_type ]]; then
instance_type
=
"t2.large"
fi
if
[[
-z
$instance_initiated_shutdown_behavior
]]
;
then
instance_initiated_shutdown_behavior
=
"terminate"
fi
if
[[
-z
$enable_newrelic
]]
;
then
enable_newrelic
=
"false"
fi
...
...
@@ -311,6 +315,7 @@ security_group: $security_group
ami:
$ami
region:
$region
zone:
$zone
instance_initiated_shutdown_behavior:
$instance_initiated_shutdown_behavior
instance_tags:
environment:
$environment
github_username:
$github_username
...
...
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