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
d3a2f9c3
Commit
d3a2f9c3
authored
Aug 16, 2016
by
Brian Beggs
Committed by
GitHub
Aug 16, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3295 from edx/bbeggs/prefix
prefix keys and instances with the same text
parents
af01848b
ed847dc5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
playbooks/continuous_delivery/launch_instance.yml
+4
-3
No files found.
playbooks/continuous_delivery/launch_instance.yml
View file @
d3a2f9c3
...
...
@@ -30,7 +30,8 @@
ebs_volume_size
:
8
ec2_timeout
:
500
ec2_assign_public_ip
:
no
gather_facts
:
False
automtion_prefix
:
"
gocd
automation
run
--
{{
ansible_date_time.iso8601
}}
--
"
gather_facts
:
True
connection
:
local
tasks
:
...
...
@@ -40,7 +41,7 @@
-
name
:
Generate ec2 keypair to use for this instance
ec2_key
:
name
:
"
{{
unique_key_name.stdout
}}"
name
:
"
{{
automtion_prefix
}}
{{
unique_key_name.stdout
}}"
region
:
"
{{
ec2_region
}}"
register
:
ssh_key_register
...
...
@@ -52,7 +53,7 @@
-
name
:
Launch EC2 instance
ec2
:
instance_tags
:
{
"
Name"
:
"
gocd
automation
run
--
{{
unique_key_name.stdout
}}"
}
instance_tags
:
{
"
Name"
:
"
{{
automtion_prefix
}}
{{
unique_key_name.stdout
}}"
}
region
:
"
{{
ec2_region
}}"
key_name
:
"
{{
unique_key_name.stdout
}}"
instance_type
:
"
{{
ec2_instance_type
}}"
...
...
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