mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-07 17:04:02 -07:00
[aws][docs] Replace uses of now-obsolete with_items
with loop
(#47164)
This commit is contained in:
parent
2043aad582
commit
df57a3fc7a
14 changed files with 23 additions and 23 deletions
|
@ -381,14 +381,14 @@ EXAMPLES = '''
|
|||
add_host:
|
||||
hostname: "{{ item.public_ip }}"
|
||||
groupname: launched
|
||||
with_items: "{{ ec2.instances }}"
|
||||
loop: "{{ ec2.instances }}"
|
||||
|
||||
- name: Wait for SSH to come up
|
||||
delegate_to: "{{ item.public_dns_name }}"
|
||||
wait_for_connection:
|
||||
delay: 60
|
||||
timeout: 320
|
||||
with_items: "{{ ec2.instances }}"
|
||||
loop: "{{ ec2.instances }}"
|
||||
|
||||
- name: Configure instance(s)
|
||||
hosts: launched
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue