From a6617e4357136187b21e97cf2692f8d1c772245b Mon Sep 17 00:00:00 2001 From: Ondra Machacek Date: Thu, 15 Mar 2018 18:31:22 +0100 Subject: [PATCH] ovirt: Fix documentation for interface parameter (#37459) --- lib/ansible/modules/cloud/ovirt/ovirt_disk.py | 1 + lib/ansible/modules/cloud/ovirt/ovirt_nics.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_disk.py b/lib/ansible/modules/cloud/ovirt/ovirt_disk.py index c452f531676..214ce16c859 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_disk.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_disk.py @@ -82,6 +82,7 @@ options: interface: description: - "Driver of the storage interface." + - "It's required parameter when creating the new disk." choices: ['virtio', 'ide', 'virtio_scsi'] default: 'virtio' format: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_nics.py b/lib/ansible/modules/cloud/ovirt/ovirt_nics.py index 0dec47fb38f..6046774e0e4 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_nics.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_nics.py @@ -45,9 +45,9 @@ options: - Virtual network interface profile to be attached to VM network interface. interface: description: - - Type of the network interface. + - "Type of the network interface." + - "It's required parameter when creating the new NIC." choices: [ e1000, pci_passthrough, rtl8139, rtl8139_virtio, spapr_vlan, virtio ] - default: virtio mac_address: description: - Custom MAC address of the network interface, by default it's obtained from MAC pool.