Commit 7bc2a7ff by Kevin Falcone

Allow us to override the boto ebs_optimized flag

Ansible defaults to False, despite documentation that doesn't state
this.  Boto then turns off EBS Optimization on instance types where this
should be impossible.
https://github.com/ansible/ansible-modules-core/pull/2326
parent 263273e3
......@@ -258,6 +258,7 @@
image: "{{ service_config.ami }}"
instance_profile_name: "{{ instance_profile_name }}"
volumes: "{{ service_config.volumes }}"
ebs_optimized: "{{ service_config.ebs_optimized }}"
with_sequence: count={{ create_instances | default(created_service_subnets.results | length) }}
when: not auto_scaling_service and potential_existing_instances.instances|length == 0
register: created_instances
......@@ -352,4 +353,4 @@
state: running
region: "{{ aws_region }}"
wait: yes
when: enhanced_networking == true
\ No newline at end of file
when: enhanced_networking == true
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