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
e1147b41
Commit
e1147b41
authored
Mar 13, 2017
by
John Eskew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ability to delete EBS volumes upon EC2 instance termination.
parent
01e0099e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
playbooks/continuous_delivery/launch_instance.yml
+5
-0
No files found.
playbooks/continuous_delivery/launch_instance.yml
View file @
e1147b41
...
...
@@ -11,6 +11,9 @@
# - ec2_region - The region the server should be brought up in
# - ec2_instance_type - The instance type to use
# - ebs_volume_size - Size in GB for the root volume
# - delete_ebs_volumes_on_termination
# - True to delete any EBS volumes attached to an EC2 instance upon its termination;
# False to leave the EBS volumes un-deleted (default).
# - ec2_timeout - Time in seconds to wait for an ec2 instance become available
# - ec2_assign_public_ip - (yes/no) should the instance have a public IP address?
# - ami_id - overrides 'base_ami_id' (used when passing in the ami.yml file produced by
...
...
@@ -30,6 +33,7 @@
ec2_region
:
us-east-1
ec2_instance_type
:
t2.medium
ebs_volume_size
:
8
delete_ebs_volumes_on_termination
:
False
ec2_timeout
:
500
ec2_assign_public_ip
:
no
automation_prefix
:
"
gocd
automation
run
--
{{
ansible_date_time.iso8601
}}
--
"
...
...
@@ -79,6 +83,7 @@
-
device_name
:
/dev/sdf
volume_type
:
'
gp2'
volume_size
:
"
{{
ebs_volume_size
}}"
delete_on_termination
:
"
{{
delete_ebs_volumes_on_termination
}}"
wait
:
yes
wait_timeout
:
"
{{
ec2_timeout
}}"
instance_profile_name
:
"
{{
ec2_instance_profile_name
}}"
...
...
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