Skip to content

Instantly share code, notes, and snippets.

@mfilipe
Created July 26, 2022 17:40
Show Gist options
  • Save mfilipe/f56424c0c65ef3038d345206e06cd52e to your computer and use it in GitHub Desktop.
Save mfilipe/f56424c0c65ef3038d345206e06cd52e to your computer and use it in GitHub Desktop.
- name: Change instance type
include_tasks: _change_instance_type.yml
loop: "{{ instance_types }}"
loop_control:
loop_var: instance_type
vars:
instance_id: "{{ ec2_info.instances[0].instance_id }}"
when: instance_types is defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment