Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible-doc: fix EXAMPLE to be yaml valid #458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions plugins/modules/nsxt_deploy_ova.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@
description: Name of VM
required: true
type: 'str'
hostname:
description: Name of host
required: true
type: 'str'
dns_server:
description: DNS server address
required: true
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/nsxt_manager_auto_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
validate_certs: False
deployment_requests:
- roles:
- MANAGER
- CONTROLLER
- MANAGER:
- CONTROLLER:
form_factor: "MEDIUM"
user_settings:
cli_password: "Admin!23Admin"
Expand All @@ -95,11 +95,11 @@
- ip_addresses:
- 10.112.201.25
prefix_length: "19"
management_port_ipv6_subnets:
management_port_ipv6_subnets:
- ip_addresses:
- 2620:124:6020:1045::1c
prefix_length: "64"
default_ipv6_gateway_addresses:
default_ipv6_gateway_addresses:
- 2620:124:6020:1045::253
state: present
'''
Expand Down
7 changes: 4 additions & 3 deletions plugins/modules/nsxt_policy_segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,9 @@
65 NIS+-Server-Addr
66 TFTP Server-Name (used by PXE)
67 Bootfile-Name (used by PXE)
93 PXE: Client system architecture
94 PXE: Client NDI
97 PXE: UUID/UNDI
93 PXE Client system architecture
94 PXE Client NDI
97 PXE UUID/UNDI
117 Name Service Search
119 Domain Search
150 TFTP server address (used by PXE)
Expand Down Expand Up @@ -521,6 +521,7 @@
allocation ranges
type: list
preferred_time:
description:
- Property of SegmentDhcpV6Config
- The length of time that a valid address is
preferred. When the preferred lifetime expires,
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/nsxt_transport_node_collections.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

EXAMPLES = '''
- name: Create transport node collection
nsxt_transport_node_collections:
nsxt_transport_node_collections:
hostname: "{{hostname}}"
username: "{{username}}"
password: "{{password}}"
Expand Down
8 changes: 4 additions & 4 deletions plugins/modules/nsxt_uplink_profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,16 @@
username: "admin"
password: "Admin!23Admin"
validate_certs: False
display_name: "uplinkProfile1",
display_name: "uplinkProfile1"
mtu: 1600,
resource_type: "UplinkHostSwitchProfile",
resource_type: "UplinkHostSwitchProfile"
teaming:
active_list:
- uplink_name: "uplink-1"
uplink_type: PNIC
policy: FAILOVER_ORDER
transport_vlan: 0,
state: "present",
transport_vlan: 0
state: "present"
'''

RETURN = '''# '''
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/nsxt_vidm.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
username: "admin"
password: "Admin!23Admin"
validate_certs: False
client_id: "OAuth2Client_NsxClientId",
client_id: "OAuth2Client_NsxClientId"
client_secret: "23424234234234"
host_name: "lbhost_vidm.eng.vmware.com",
host_name: "lbhost_vidm.eng.vmware.com"
lb_enable: False
node_host_name: "jt-vidm.eng.vmware.com"
thumbprint: "898b75618e3e56615d53f987a720ff22b6381f4b85bec1eb973214ff7361f8b8"
Expand Down