Skip to content

Commit

Permalink
Wait for instances
Browse files Browse the repository at this point in the history
  • Loading branch information
abikouo committed Sep 27, 2024
1 parent d7a06a2 commit 98a6af4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@
purge_tags: false
tags:
TestId: "{{ ec2_instance_tag_TestId }}"
wait: false
wait: true
register: terminate_multiple_instances

- ansible.builtin.assert:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
instance_ids: "{{ ec2_instance_ids }}"
register: _instances_info

- name: Ensure module reported change while the instance type was not changed (check_mode)
- name: Ensure module reported change and the instance type was updated
ansible.builtin.assert:
that:
- _update_instance_type is changed
Expand All @@ -62,7 +62,7 @@
wait: false
register: _update_idempotency

- name: Validate idempotency did not reported change
- name: Validate idempotency did not report change
ansible.builtin.assert:
that:
- _update_idempotency is not changed
Expand Down

0 comments on commit 98a6af4

Please sign in to comment.