Commit 4c1d1098 by Brian Beggs Committed by GitHub

Merge pull request #3164 from edx/bbeggs/instance_profile

adding ec2_instance_profile_name to launch instance CD
parents 8faf8af7 6d9e7893
...@@ -2,10 +2,11 @@ ...@@ -2,10 +2,11 @@
# This instance will have an autogenerated key. # This instance will have an autogenerated key.
# #
# required variables for this playbook: # required variables for this playbook:
# - ec2_subnet_id - Subnet to bring up the ec2 instance # - ec2_subnet_id - Subnet to bring up the ec2 instance
# - base_ami_id - The base base AMI-ID # - base_ami_id - The base base AMI-ID
# - ec2_vpc_subnet_id - The Subnet ID to bring up the instance # - ec2_vpc_subnet_id - The Subnet ID to bring up the instance
# - ec2_security_group_id - The security group ID to use # - ec2_security_group_id - The security group ID to use
# - ec2_instance_profile_name - The instance profile that should be used to launch this AMI
# #
# Other Variables: # Other Variables:
# - ec2_region - The region the server should be brought up in # - ec2_region - The region the server should be brought up in
...@@ -68,6 +69,7 @@ ...@@ -68,6 +69,7 @@
volume_size: "{{ ebs_volume_size }}" volume_size: "{{ ebs_volume_size }}"
wait: yes wait: yes
wait_timeout: "{{ ec2_timeout }}" wait_timeout: "{{ ec2_timeout }}"
instance_profile_name: "{{ ec2_instance_profile_name }}"
register: ec2_instance_register register: ec2_instance_register
- name: Wait for SSH to come up - name: Wait for SSH to come up
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment