Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roles/infrastructure/tasks/setup_aws_compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
loop_control:
loop_var: __infra_compute_instance_item
loop: "{{ range(0, infra__dynamic_inventory_count | int ) | list }}"
amazon.aws.ec2:
amazon.aws.ec2_instance:
region: "{{ infra__region }}"
group_id: "{{ infra__aws_security_group_default_id }}"
key_name: "{{ infra__public_key_id }}"
Expand Down Expand Up @@ -53,7 +53,7 @@
- name: Create localised Utility Instance to process Downloads
when: infra__create_utility_service
register: __infra_utility_vm_instance
amazon.aws.ec2:
amazon.aws.ec2_instance:
region: "{{ infra__region }}"
group_id: "{{ infra__aws_security_group_default_id }}"
key_name: "{{ infra__public_key_id }}"
Expand Down
2 changes: 1 addition & 1 deletion roles/infrastructure/tasks/teardown_aws_compute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@

- name: Handle Compute Removal if Discovered
when: infra__discovered_compute_inventory | count > 0
amazon.aws.ec2:
amazon.aws.ec2_instance:
region: "{{ infra__region }}"
wait: yes
state: absent
Expand Down