mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[aws][docs] Replace uses of now-obsolete with_items with loop (#47164)
This commit is contained in:
@@ -134,7 +134,7 @@ EXAMPLES = '''
|
||||
- name: associate new elastic IPs with each of the instances
|
||||
ec2_eip:
|
||||
device_id: "{{ item }}"
|
||||
with_items: "{{ ec2.instance_ids }}"
|
||||
loop: "{{ ec2.instance_ids }}"
|
||||
|
||||
- name: allocate a new elastic IP inside a VPC in us-west-2
|
||||
ec2_eip:
|
||||
|
||||
Reference in New Issue
Block a user