From 9b9066d10f21ab27c68f0ac9067796e55855bb6c Mon Sep 17 00:00:00 2001 From: Dieter De Moitie Date: Thu, 25 Jul 2019 17:41:07 +0200 Subject: [PATCH] Updated references to removed modules in documentation (#59580) --- lib/ansible/modules/cloud/ovirt/ovirt_auth.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_network.py | 2 +- lib/ansible/modules/cloud/ovirt/ovirt_vm.py | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_auth.py b/lib/ansible/modules/cloud/ovirt/ovirt_auth.py index bcc8eb61d96..b13ed6f8352 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_auth.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_auth.py @@ -126,7 +126,7 @@ EXAMPLES = ''' # Previous task generated I(ovirt_auth) fact, which you can later use # in different modules as follows: - - ovirt_vms: + - ovirt_vm: auth: "{{ ovirt_auth }}" state: absent name: myvm diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py b/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py index e0352121d03..d32a3c9abc2 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_instance_type.py @@ -50,7 +50,7 @@ options: - C(interface) - Type of the network interface. One of following I(virtio), I(e1000), I(rtl8139), default is I(virtio). - C(mac_address) - Custom MAC address of the network interface, by default it's obtained from MAC pool. - NOTE - This parameter is used only when C(state) is I(running) or I(present) and is able to only create NICs. - To manage NICs of the instance type in more depth please use M(ovirt_nics) module instead. + To manage NICs of the instance type in more depth please use M(ovirt_nic) module instead. memory_max: description: - Upper bound of instance type memory up to which memory hot-plug can be performed. diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_network.py b/lib/ansible/modules/cloud/ovirt/ovirt_network.py index 96a88a68a63..81581ec0023 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_network.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_network.py @@ -127,7 +127,7 @@ EXAMPLES = ''' data_center: mydatacenter # Add network from external provider -- ovirt_networks: +- ovirt_network: data_center: mydatacenter name: mynetwork external_provider: ovirt-provider-ovn diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vm.py b/lib/ansible/modules/cloud/ovirt/ovirt_vm.py index a0ffe20f8e5..3afe2dd5bba 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vm.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vm.py @@ -332,7 +332,7 @@ options: description: - Custom MAC address of the network interface, by default it's obtained from MAC pool. - "NOTE - This parameter is used only when C(state) is I(running) or I(present) and is able to only create NICs. - To manage NICs of the VM in more depth please use M(ovirt_nics) module instead." + To manage NICs of the VM in more depth please use M(ovirt_nic) module instead." disks: description: - List of disks, which should be attached to Virtual Machine. Disk is described by following dictionary. @@ -356,7 +356,7 @@ options: description: - I(True) if the disk should be activated, default is activated. - "NOTE - This parameter is used only when C(state) is I(running) or I(present) and is able to only attach disks. - To manage disks of the VM in more depth please use M(ovirt_disks) module instead." + To manage disks of the VM in more depth please use M(ovirt_disk) module instead." type: bool sysprep: description: @@ -1167,7 +1167,7 @@ EXAMPLES = ''' # Execute remote viever to VM - block: - name: Create a ticket for console for a running VM - ovirt_vms: + ovirt_vm: name: myvm ticket: true state: running