mirror of https://github.com/ansible/ansible.git
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.
16 lines
397 B
YAML
16 lines
397 B
YAML
6 years ago
|
---
|
||
|
- name: Create the DVSwitch
|
||
|
vmware_dvswitch:
|
||
|
validate_certs: no
|
||
|
hostname: "{{ vcenter_hostname }}"
|
||
|
username: "{{ vcenter_username }}"
|
||
|
password: "{{ vcenter_password }}"
|
||
|
datacenter_name: '{{ dc1 }}'
|
||
|
switch_name: '{{ dvswitch1 }}'
|
||
|
switch_version: 6.0.0
|
||
|
mtu: 9000
|
||
|
uplink_quantity: 2
|
||
|
discovery_proto: lldp
|
||
|
discovery_operation: both
|
||
|
state: present
|