diff --git a/playbooks/continuous_delivery/launch_instance.yml b/playbooks/continuous_delivery/launch_instance.yml index a4e34ed..d22043e 100644 --- a/playbooks/continuous_delivery/launch_instance.yml +++ b/playbooks/continuous_delivery/launch_instance.yml @@ -2,10 +2,11 @@ # This instance will have an autogenerated key. # # required variables for this playbook: -# - ec2_subnet_id - Subnet to bring up the ec2 instance -# - base_ami_id - The base base AMI-ID -# - ec2_vpc_subnet_id - The Subnet ID to bring up the instance -# - ec2_security_group_id - The security group ID to use +# - ec2_subnet_id - Subnet to bring up the ec2 instance +# - base_ami_id - The base base AMI-ID +# - ec2_vpc_subnet_id - The Subnet ID to bring up the instance +# - 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: # - ec2_region - The region the server should be brought up in @@ -68,6 +69,7 @@ volume_size: "{{ ebs_volume_size }}" wait: yes wait_timeout: "{{ ec2_timeout }}" + instance_profile_name: "{{ ec2_instance_profile_name }}" register: ec2_instance_register - name: Wait for SSH to come up