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
c0f91f02
Commit
c0f91f02
authored
Aug 16, 2016
by
Brian Beggs
Committed by
GitHub
Aug 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3318 from edx/bbeggs/launch_instance_fix
fix CD scripts so instances launch with the correct key pair
parents
cef17f2e
2d906467
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
playbooks/continuous_delivery/launch_instance.yml
+4
-4
No files found.
playbooks/continuous_delivery/launch_instance.yml
View file @
c0f91f02
...
...
@@ -30,7 +30,7 @@
ebs_volume_size
:
8
ec2_timeout
:
500
ec2_assign_public_ip
:
no
automtion_prefix
:
"
gocd
automation
run
--
{{
ansible_date_time.iso8601
}}
--
"
autom
a
tion_prefix
:
"
gocd
automation
run
--
{{
ansible_date_time.iso8601
}}
--
"
gather_facts
:
True
connection
:
local
tasks
:
...
...
@@ -41,7 +41,7 @@
-
name
:
Generate ec2 keypair to use for this instance
ec2_key
:
name
:
"
{{
automtion_prefix
}}
{{
unique_key_name.stdout
}}"
name
:
"
{{
autom
a
tion_prefix
}}
{{
unique_key_name.stdout
}}"
region
:
"
{{
ec2_region
}}"
register
:
ssh_key_register
...
...
@@ -53,9 +53,9 @@
-
name
:
Launch EC2 instance
ec2
:
instance_tags
:
{
"
Name"
:
"
{{
automtion_prefix
}}
{{
unique_key_name.stdout
}}"
}
instance_tags
:
{
"
Name"
:
"
{{
autom
a
tion_prefix
}}
{{
unique_key_name.stdout
}}"
}
region
:
"
{{
ec2_region
}}"
key_name
:
"
{{
unique_key_name.stdout
}}"
key_name
:
"
{{
automation_prefix
}}
{{
unique_key_name.stdout
}}"
instance_type
:
"
{{
ec2_instance_type
}}"
image
:
"
{{
base_ami_id
}}"
wait
:
yes
...
...
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