community.vmware.vmware_vmkernel_ip_config – Configure the VMkernel IP Address¶
Note
This plugin is part of the community.vmware collection (version 1.7.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_vmkernel_ip_config
.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.6
PyVmomi
Parameters¶
Examples¶
# Example command from Ansible Playbook
- name: Configure IP address on ESX host
community.vmware.vmware_vmkernel_ip_config:
hostname: '{{ esxi_hostname }}'
username: '{{ esxi_username }}'
password: '{{ esxi_password }}'
vmk_name: vmk0
ip_address: 10.0.0.10
subnet_mask: 255.255.255.0
delegate_to: localhost
Authors¶
Joseph Callen (@jcpowermac)
Russell Teague (@mtnbikenc)