June 2018
Beginner
578 pages
13h 39m
English
This module allows you to add VMkernel interfaces, which are also known as Virtual NICs on a host:
- name: Add management port with a static ip vmware_vmkernel: hostname: "{{ vsphere_host }}" username: "{{ vsphere_username }}" password: "{{ vsphere_password }}" validate_certs: "no" esxi_hostname: "{{ exsi_host }}" vswitch_name: "my_vSwitch" portgroup_name: "my_portgroup" vlan_id: "the_vlan_id" network: type: "static" ip_address: "192.168.127.10" subnet_mask: "255.255.255.0" state: "present" enable_mgmt: "True"
In the previous example, we added a management interface; there are also the following options:
Read now
Unlock full access