Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.

Commit 9b297b3

Browse files
author
Matej Stajduhar
committed
Updating-iam-role-2
1 parent 369475e commit 9b297b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/aws/aws_iam_role/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
- name: Wait for 6 seconds for IAM to be ready.
5151
ansible.builtin.wait_for:
5252
timeout: 6
53-
when: ansible_loop.last
53+
when: ansible_loop.last is defined and ansible_loop.last
5454

5555
- name: Register aws_iam_role results.
5656
ansible.builtin.set_fact:

0 commit comments

Comments
 (0)