mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
ec2_instance: add a retry to run_instance to help with ec2 consistency
This commit is contained in:
committed by
Ryan S. Brown
parent
1905a6e8fb
commit
a6d5656dd8
@@ -30,9 +30,6 @@
|
||||
<<: *aws_connection_info
|
||||
register: iam_role_2
|
||||
|
||||
- name: Wait for IAM role to be available, otherwise the next step will fail (Invalid IAM Instance Profile name)
|
||||
command: sleep 10
|
||||
|
||||
- name: Make instance with an instance_role
|
||||
ec2_instance:
|
||||
name: "{{ resource_prefix }}-test-default-vpc"
|
||||
|
||||
Reference in New Issue
Block a user