From deb0cbbf738967c2d7ff03229e7ff9eff51854a2 Mon Sep 17 00:00:00 2001 From: Mario Lenz Date: Fri, 29 Nov 2019 02:20:33 +0100 Subject: [PATCH] VMware: Fix vmware_host_dns examples (#65355) Added type in example sections --- lib/ansible/modules/cloud/vmware/vmware_host_dns.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/vmware/vmware_host_dns.py b/lib/ansible/modules/cloud/vmware/vmware_host_dns.py index ffbb84f09dd..f8afd68032c 100644 --- a/lib/ansible/modules/cloud/vmware/vmware_host_dns.py +++ b/lib/ansible/modules/cloud/vmware/vmware_host_dns.py @@ -34,7 +34,7 @@ requirements: options: type: description: - - Type of IP assignment. Either C(dhcp) or C(static). + - Type of DNS assignment. Either C(dhcp) or C(static). - A VMkernel adapter needs to be set to DHCP if C(type) is set to C(dhcp). type: str choices: [ 'dhcp', 'static' ] @@ -91,6 +91,7 @@ EXAMPLES = r''' username: '{{ vcenter_username }}' password: '{{ vcenter_password }}' esxi_hostname: '{{ esxi_hostname }}' + type: static host_name: esx01 domain: example.local dns_servers: @@ -107,6 +108,7 @@ EXAMPLES = r''' username: '{{ vcenter_username }}' password: '{{ vcenter_password }}' cluster_name: '{{ cluster_name }}' + type: static domain: example.local dns_servers: - 192.168.1.10