summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Paine <aioue@users.noreply.github.com>2015-05-20 16:01:29 +0100
committerTom Paine <aioue@users.noreply.github.com>2015-05-20 16:01:29 +0100
commited07502587ea4826d11966bdb9c38c78aa81a5ac (patch)
tree24058c9ec9b58c1c31b9e584a7250f45a8b48026
parentb0412c13fc51a74c2236f7dd9e66d8b4d1feed84 (diff)
downloadansible-modules-core-ed07502587ea4826d11966bdb9c38c78aa81a5ac.tar.gz
Update vsphere_guest.py
Add example distributed virtual switch example so vm_nic options are clearer.
-rw-r--r--cloud/vmware/vsphere_guest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/cloud/vmware/vsphere_guest.py b/cloud/vmware/vsphere_guest.py
index a33fd52e..a09a59c7 100644
--- a/cloud/vmware/vsphere_guest.py
+++ b/cloud/vmware/vsphere_guest.py
@@ -153,6 +153,10 @@ EXAMPLES = '''
type: vmxnet3
network: VM Network
network_type: standard
+ nic2:
+ type: vmxnet3
+ network: dvSwitch Network
+ network_type: dvs
vm_hardware:
memory_mb: 2048
num_cpus: 2