You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/prepare_vmware_tests/tasks/setup_switch.yml

12 lines
309 B
YAML

---
- name: Add a VMware vSwitchs
vmware_vswitch:
validate_certs: no
hostname: '{{ vcenter_hostname }}'
username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}'
esxi_hostname: '{{ item }}'
switch_name: "{{ switch1 }}"
state: present
with_items: "{{ esxi_hosts }}"