community.vmware.vmware_dns_config – Manage VMware ESXi DNS Configuration¶
Note
This plugin is part of the community.vmware collection (version 1.9.0).
To install it use: ansible-galaxy collection install community.vmware
.
To use it in a playbook, specify: community.vmware.vmware_dns_config
.
DEPRECATED¶
- Removed in
major release after 2022-06-01
- Why
Will be replaced with new module community.vmware.vmware_host_dns.
- Alternative
Use community.vmware.vmware_host_dns instead.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.6
PyVmomi
Parameters¶
Examples¶
- name: Configure ESXi hostname and DNS servers
community.vmware.vmware_dns_config:
hostname: '{{ esxi_hostname }}'
username: '{{ esxi_username }}'
password: '{{ esxi_password }}'
change_hostname_to: esx01
domainname: foo.org
dns_servers:
- 8.8.8.8
- 8.8.4.4
delegate_to: localhost
Status¶
This module will be removed in a major release after 2022-06-01. [deprecated]
For more information see DEPRECATED.
Authors¶
Joseph Callen (@jcpowermac)