From 19116e010283f11978e237f854dd365e0f8f46a7 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde Date: Sat, 18 Aug 2018 13:36:52 +0530 Subject: [PATCH] ovirt: minor typo fixes in documentation (#44345) Signed-off-by: Abhijeet Kasurde --- lib/ansible/modules/cloud/ovirt/ovirt_auth.py | 21 ++----------- .../modules/cloud/ovirt/ovirt_cluster.py | 31 +++++-------------- .../modules/cloud/ovirt/ovirt_datacenter.py | 19 ++---------- .../cloud/ovirt/ovirt_datacenter_facts.py | 17 +--------- lib/ansible/modules/cloud/ovirt/ovirt_disk.py | 17 +--------- .../modules/cloud/ovirt/ovirt_host_pm.py | 19 ++---------- .../cloud/ovirt/ovirt_host_storage_facts.py | 20 ++---------- .../modules/cloud/ovirt/ovirt_hosts.py | 19 ++---------- .../modules/cloud/ovirt/ovirt_hosts_facts.py | 17 +--------- .../modules/cloud/ovirt/ovirt_mac_pools.py | 19 ++---------- .../modules/cloud/ovirt/ovirt_quotas.py | 21 ++----------- .../cloud/ovirt/ovirt_snapshots_facts.py | 19 ++---------- .../cloud/ovirt/ovirt_storage_connections.py | 19 ++---------- .../cloud/ovirt/ovirt_storage_domains.py | 6 ++-- .../modules/cloud/ovirt/ovirt_templates.py | 19 ++---------- lib/ansible/modules/cloud/ovirt/ovirt_vms.py | 8 ++--- 16 files changed, 40 insertions(+), 251 deletions(-) diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_auth.py b/lib/ansible/modules/cloud/ovirt/ovirt_auth.py index 5c06b482c3e..3964c974bb1 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_auth.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_auth.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -154,9 +139,9 @@ EXAMPLES = ''' # OVIRT_URL = https://fqdn/ovirt-engine/api # OVIRT_USERNAME = admin@internal # OVIRT_PASSWORD = the_password -# He can login the oVirt using environment variable instead of variables +# User can login the oVirt using environment variable instead of variables # in yaml file. -# This is mainly usefull when using Ansible Tower or AWX, as it will work +# This is mainly useful when using Ansible Tower or AWX, as it will work # for Red Hat Virtualization creadentials type. - name: Obtain SSO token ovirt_auth: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py b/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py index 0303e20951f..54e1dc99dec 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_cluster.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -39,7 +24,7 @@ options: required: true state: description: - - "Should the cluster be present or absent" + - "Should the cluster be present or absent." choices: ['present', 'absent'] default: present data_center: @@ -78,22 +63,22 @@ options: outweighs its CPU cost." ksm_numa: description: - - "If I(True) enables KSM C(ksm) for best berformance inside NUMA nodes." + - "If I(True) enables KSM C(ksm) for best performance inside NUMA nodes." ha_reservation: description: - - "If I(True) enable the oVirt/RHV to monitor cluster capacity for highly + - "If I(True) enables the oVirt/RHV to monitor cluster capacity for highly available virtual machines." trusted_service: description: - - "If (True) enable integration with an OpenAttestation server." + - "If I(True) enables integration with an OpenAttestation server." vm_reason: description: - - "If I(True) enable an optional reason field when a virtual machine + - "If I(True) enables an optional reason field when a virtual machine is shut down from the Manager, allowing the administrator to provide an explanation for the maintenance." host_reason: description: - - "If I(True) enable an optional reason field when a host is placed + - "If I(True) enables an optional reason field when a host is placed into maintenance mode from the Manager, allowing the administrator to provide an explanation for the maintenance." memory_policy: @@ -207,7 +192,7 @@ options: switch_type: description: - "Type of switch to be used by all networks in given cluster. - Either I(legacy) which is using linux brigde or I(ovs) using + Either I(legacy) which is using linux bridge or I(ovs) using Open vSwitch." choices: ['legacy', 'ovs'] compatibility_version: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_datacenter.py b/lib/ansible/modules/cloud/ovirt/ovirt_datacenter.py index 301029620ef..e08b16912ef 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_datacenter.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_datacenter.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -39,7 +24,7 @@ options: required: true state: description: - - "Should the data center be present or absent" + - "Should the data center be present or absent." choices: ['present', 'absent'] default: present description: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_datacenter_facts.py b/lib/ansible/modules/cloud/ovirt/ovirt_datacenter_facts.py index 924dc216e57..b9740de46c8 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_datacenter_facts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_datacenter_facts.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_disk.py b/lib/ansible/modules/cloud/ovirt/ovirt_disk.py index e3a059697b0..2c42fad7bdd 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_disk.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_disk.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_host_pm.py b/lib/ansible/modules/cloud/ovirt/ovirt_host_pm.py index 098db341f75..6f9fae08967 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_host_pm.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_host_pm.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -67,7 +52,7 @@ options: - "Additional information about options can be found at U(https://github.com/ClusterLabs/fence-agents/blob/master/doc/FenceAgentAPI.md)." encrypt_options: description: - - "If (true) options will be encrypted when send to agent." + - "If I(true) options will be encrypted when send to agent." aliases: ['encrypt'] order: description: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_host_storage_facts.py b/lib/ansible/modules/cloud/ovirt/ovirt_host_storage_facts.py index 898c529cbc9..baa74ed5b59 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_host_storage_facts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_host_storage_facts.py @@ -2,23 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# - +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -69,7 +53,7 @@ EXAMPLES = ''' RETURN = ''' ovirt_host_storages: - description: "List of dictionaries describing the HostStorage. HostStorage attribtues are mapped to dictionary keys, + description: "List of dictionaries describing the HostStorage. HostStorage attributes are mapped to dictionary keys, all HostStorage attributes can be found at following url: http://ovirt.github.io/ovirt-engine-api-model/master/#types/host_storage." returned: On success. type: list diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py index 7ade8a5b2da..bbc6beb2dc2 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_hosts.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -95,7 +80,7 @@ options: - "Modifying kernel boot parameters settings can lead to a host boot failure. Please consult the product documentation before doing any changes." - "Kernel boot parameters changes require host deploy and restart. The host needs - to be I(reinstalled) suceesfully and then to be I(rebooted) for kernel boot parameters + to be I(reinstalled) successfully and then to be I(rebooted) for kernel boot parameters to be applied." hosted_engine: description: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_hosts_facts.py b/lib/ansible/modules/cloud/ovirt/ovirt_hosts_facts.py index ea4007722c5..83a7489a1d7 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_hosts_facts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_hosts_facts.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_mac_pools.py b/lib/ansible/modules/cloud/ovirt/ovirt_mac_pools.py index 9ef4ac323d8..f43e23743e2 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_mac_pools.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_mac_pools.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -47,7 +32,7 @@ options: default: present allow_duplicates: description: - - "If (true) allow a MAC address to be used multiple times in a pool." + - "If I(true) allow a MAC address to be used multiple times in a pool." - "Default value is set by oVirt/RHV engine to I(false)." ranges: description: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_quotas.py b/lib/ansible/modules/cloud/ovirt/ovirt_quotas.py index 26872469499..57cd072aa2c 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_quotas.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_quotas.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -64,14 +49,14 @@ options: clusters: description: - "List of dictionary of cluster limits, which is valid to specific cluster." - - "If cluster isn't spefied it's valid to all clusters in system:" + - "If cluster isn't specified it's valid to all clusters in system:" - "C(cluster) - Name of the cluster." - "C(memory) - Memory limit (in GiB)." - "C(cpu) - CPU limit." storages: description: - "List of dictionary of storage limits, which is valid to specific storage." - - "If storage isn't spefied it's valid to all storages in system:" + - "If storage isn't specified it's valid to all storages in system:" - "C(storage) - Name of the storage." - "C(size) - Size limit (in GiB)." extends_documentation_fragment: ovirt diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_snapshots_facts.py b/lib/ansible/modules/cloud/ovirt/ovirt_snapshots_facts.py index 999991b607f..618efa4138e 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_snapshots_facts.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_snapshots_facts.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', @@ -46,7 +31,7 @@ options: - "Description of the snapshot, can be used as glob expression." snapshot_id: description: - - "Id of the snaphost we want to retrieve facts about." + - "Id of the snapshot we want to retrieve facts about." extends_documentation_fragment: ovirt_facts ''' diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py index 62bb2bfddc0..6405c5a1b12 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_connections.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2017 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -81,7 +66,7 @@ options: - "Virtual File System type." force: description: - - "This parameter is releven only when updating a connection." + - "This parameter is relevant only when updating a connection." - "If I(true) the storage domain don't have to be in I(MAINTENANCE) state, so the storage connection is updated." extends_documentation_fragment: ovirt diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py index 54be960b959..8505e5db00b 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_storage_domains.py @@ -115,7 +115,7 @@ options: description: - "Dictionary with values for fibre channel storage type:" - "C(lun_id) - LUN id." - - "C(override_luns) - If I(True) FCP storage domain luns will be overridden before adding." + - "C(override_luns) - If I(True) FCP storage domain LUNs will be overridden before adding." - "Note that these parameters are not idempotent." wipe_after_delete: description: @@ -127,11 +127,11 @@ options: version_added: "2.5" critical_space_action_blocker: description: - - "Inidcates the minimal free space the storage domain should contain in percentages." + - "Indicates the minimal free space the storage domain should contain in percentages." version_added: "2.5" warning_low_space: description: - - "Inidcates the minimum percentage of a free space in a storage domain to present a warning." + - "Indicates the minimum percentage of a free space in a storage domain to present a warning." version_added: "2.5" destroy: description: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_templates.py b/lib/ansible/modules/cloud/ovirt/ovirt_templates.py index 31b0d6dec96..68cc1f6bb3e 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_templates.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_templates.py @@ -2,22 +2,7 @@ # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, Inc. -# -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see . -# +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) ANSIBLE_METADATA = {'metadata_version': '1.1', 'status': ['preview'], @@ -69,7 +54,7 @@ options: - "Mapper which maps an external virtual NIC profile to one that exists in the engine when C(state) is registered. vnic_profile is described by the following dictionary:" - "C(source_network_name): The network name of the source network." - - "C(source_profile_name): The prfile name related to the source network." + - "C(source_profile_name): The profile name related to the source network." - "C(target_profile_id): The id of the target profile id to be mapped to in the engine." version_added: "2.5" cluster_mappings: diff --git a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py index 744acdc3fdf..dfdc49c989b 100644 --- a/lib/ansible/modules/cloud/ovirt/ovirt_vms.py +++ b/lib/ansible/modules/cloud/ovirt/ovirt_vms.py @@ -52,7 +52,7 @@ options: - "Mapper which maps an external virtual NIC profile to one that exists in the engine when C(state) is registered. vnic_profile is described by the following dictionary:" - "C(source_network_name): The network name of the source network." - - "C(source_profile_name): The prfile name related to the source network." + - "C(source_profile_name): The profile name related to the source network." - "C(target_profile_id): The id of the target profile id to be mapped to in the engine." version_added: "2.5" cluster_mappings: @@ -324,8 +324,8 @@ options: disks: description: - List of disks, which should be attached to Virtual Machine. Disk is described by following dictionary. - - C(name) - Name of the disk. Either C(name) or C(id) is reuqired. - - C(id) - ID of the disk. Either C(name) or C(id) is reuqired. + - C(name) - Name of the disk. Either C(name) or C(id) is required. + - C(id) - ID of the disk. Either C(name) or C(id) is required. - C(interface) - Interface of the disk, either I(virtio) or I(IDE), default is I(virtio). - C(bootable) - I(True) if the disk should be bootable, default is non bootable. - C(activate) - I(True) if the disk should be activated, default is activated. @@ -366,7 +366,7 @@ options: - C(nic_on_boot) - If I(True) network interface will be set to start on boot. cloud_init_nics: description: - - List of dictionaries representing network interafaces to be setup by cloud init. + - List of dictionaries representing network interfaces to be setup by cloud init. - This option is used, when user needs to setup more network interfaces via cloud init. - If one network interface is enough, user should use C(cloud_init) I(nic_*) parameters. C(cloud_init) I(nic_*) parameters are merged with C(cloud_init_nics) parameters.