7 lines
169 B
YAML
7 lines
169 B
YAML
---
|
|
- name: Add a VMware vSwitchs
|
|
vmware_vswitch:
|
|
esxi_hostname: '{{ item }}'
|
|
switch_name: "{{ switch1 }}"
|
|
state: present
|
|
with_items: "{{ esxi_hosts }}"
|