VMware: Fix vmware_host_dns examples (#65355)

Added type in example sections
pull/65359/head
Mario Lenz 5 years ago committed by Abhijeet Kasurde
parent 34ecd6cb25
commit deb0cbbf73

@ -34,7 +34,7 @@ requirements:
options: options:
type: type:
description: 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). - A VMkernel adapter needs to be set to DHCP if C(type) is set to C(dhcp).
type: str type: str
choices: [ 'dhcp', 'static' ] choices: [ 'dhcp', 'static' ]
@ -91,6 +91,7 @@ EXAMPLES = r'''
username: '{{ vcenter_username }}' username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}' password: '{{ vcenter_password }}'
esxi_hostname: '{{ esxi_hostname }}' esxi_hostname: '{{ esxi_hostname }}'
type: static
host_name: esx01 host_name: esx01
domain: example.local domain: example.local
dns_servers: dns_servers:
@ -107,6 +108,7 @@ EXAMPLES = r'''
username: '{{ vcenter_username }}' username: '{{ vcenter_username }}'
password: '{{ vcenter_password }}' password: '{{ vcenter_password }}'
cluster_name: '{{ cluster_name }}' cluster_name: '{{ cluster_name }}'
type: static
domain: example.local domain: example.local
dns_servers: dns_servers:
- 192.168.1.10 - 192.168.1.10

Loading…
Cancel
Save