vmware_guest - Modify Multiple VM's

Good Day,

How would one compose a list of VM’s to make changes against. I have the following which works for a single machine :

- hosts: 127.0.0.1
tasks:
- name: Change NIC Configuration
delegate_to: localhost
vmware_guest:
hostname: XXXXXXXXX
username: XXXXXXXXX
password: XXXXXXXXX
datacenter: XXXXXXXXX
name: VSAN025
validate_certs: False
state: present
folder: /XXXXXXXXX
networks:
- name: Internal

… however, I need to make changes to dozens of machines. I have tried vars etc but it is like it cannot handle multiple servers against name ?

“msg”: "No folder /XXXXXXXXX matched in the search path : /XXXXXXXXX/vm/XXXXXXXXX"

Regards

Shaun