1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #7427/f4d81681 backport][stable-7] Typo fix (#7428)

Typo fix (#7427)

* Fix typos in proxmox modules

* Fix typos on gitlab modules

* Fix typo

(cherry picked from commit f4d8168131)

Co-authored-by: Alex <alex@alxg.de>
This commit is contained in:
patchback[bot] 2023-10-25 22:47:24 +02:00 committed by GitHub
parent e64d124e18
commit 4175c4c8fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 32 additions and 32 deletions

View file

@ -71,7 +71,7 @@ options:
version_added: 4.5.0 version_added: 4.5.0
description: description:
- A list of dictionaries that represents CI/CD variables. - A list of dictionaries that represents CI/CD variables.
- This modules works internal with this sructure, even if the older O(vars) parameter is used. - This modules works internal with this structure, even if the older O(vars) parameter is used.
default: [] default: []
type: list type: list
elements: dict elements: dict

View file

@ -70,7 +70,7 @@ options:
description: description:
description: description:
- A description for the merge request. - A description for the merge request.
- Gets overriden by a content of file specified at O(description_path), if found. - Gets overridden by a content of file specified at O(description_path), if found.
type: str type: str
description_path: description_path:
description: description:

View file

@ -47,27 +47,27 @@ options:
comma-delimited list C([volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>] comma-delimited list C([volume=]<volume> [,acl=<1|0>] [,mountoptions=<opt[;opt...]>] [,quota=<1|0>]
[,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>])." [,replicate=<1|0>] [,ro=<1|0>] [,shared=<1|0>] [,size=<DiskSize>])."
- See U(https://pve.proxmox.com/wiki/Linux_Container) for a full description. - See U(https://pve.proxmox.com/wiki/Linux_Container) for a full description.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(3). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(3).
type: str type: str
cores: cores:
description: description:
- Specify number of cores per socket. - Specify number of cores per socket.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(1). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(1).
type: int type: int
cpus: cpus:
description: description:
- numbers of allocated cpus for instance - numbers of allocated cpus for instance
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(1). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(1).
type: int type: int
memory: memory:
description: description:
- memory size in MB for instance - memory size in MB for instance
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(512). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(512).
type: int type: int
swap: swap:
description: description:
- swap memory size in MB for instance - swap memory size in MB for instance
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(0). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(0).
type: int type: int
netif: netif:
description: description:
@ -91,7 +91,7 @@ options:
onboot: onboot:
description: description:
- specifies whether a VM will be started during system bootup - specifies whether a VM will be started during system bootup
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(false). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(false).
type: bool type: bool
storage: storage:
description: description:
@ -101,7 +101,7 @@ options:
cpuunits: cpuunits:
description: description:
- CPU weight for a VM - CPU weight for a VM
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(1000). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(1000).
type: int type: int
nameserver: nameserver:
description: description:

View file

@ -30,7 +30,7 @@ options:
acpi: acpi:
description: description:
- Specify if ACPI should be enabled/disabled. - Specify if ACPI should be enabled/disabled.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(true). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(true).
type: bool type: bool
agent: agent:
description: description:
@ -42,19 +42,19 @@ options:
description: description:
- Pass arbitrary arguments to kvm. - Pass arbitrary arguments to kvm.
- This option is for experts only! - This option is for experts only!
- If O(proxmox_default_behavior) is set to V(compatiblity), this option has a default of - If O(proxmox_default_behavior) is set to V(compatibility), this option has a default of
V(-serial unix:/var/run/qemu-server/<vmid>.serial,server,nowait). V(-serial unix:/var/run/qemu-server/<vmid>.serial,server,nowait).
type: str type: str
autostart: autostart:
description: description:
- Specify if the VM should be automatically restarted after crash (currently ignored in PVE API). - Specify if the VM should be automatically restarted after crash (currently ignored in PVE API).
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(false). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(false).
type: bool type: bool
balloon: balloon:
description: description:
- Specify the amount of RAM for the VM in MB. - Specify the amount of RAM for the VM in MB.
- Using zero disables the balloon driver. - Using zero disables the balloon driver.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(0). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(0).
type: int type: int
bios: bios:
description: description:
@ -66,7 +66,7 @@ options:
- Specify the boot order -> boot on floppy V(a), hard disk V(c), CD-ROM V(d), or network V(n). - Specify the boot order -> boot on floppy V(a), hard disk V(c), CD-ROM V(d), or network V(n).
- For newer versions of Proxmox VE, use a boot order like V(order=scsi0;net0;hostpci0). - For newer versions of Proxmox VE, use a boot order like V(order=scsi0;net0;hostpci0).
- You can combine to set order. - You can combine to set order.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(cnd). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(cnd).
type: str type: str
bootdisk: bootdisk:
description: description:
@ -102,12 +102,12 @@ options:
cores: cores:
description: description:
- Specify number of cores per socket. - Specify number of cores per socket.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(1). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(1).
type: int type: int
cpu: cpu:
description: description:
- Specify emulated CPU type. - Specify emulated CPU type.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(kvm64). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(kvm64).
type: str type: str
cpulimit: cpulimit:
description: description:
@ -118,7 +118,7 @@ options:
description: description:
- Specify CPU weight for a VM. - Specify CPU weight for a VM.
- You can disable fair-scheduler configuration by setting this to 0 - You can disable fair-scheduler configuration by setting this to 0
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(1000). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(1000).
type: int type: int
delete: delete:
description: description:
@ -171,7 +171,7 @@ options:
description: description:
- Allow to force stop VM. - Allow to force stop VM.
- Can be used with states V(stopped), V(restarted), and V(absent). - Can be used with states V(stopped), V(restarted), and V(absent).
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(false). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(false).
type: bool type: bool
format: format:
description: description:
@ -181,7 +181,7 @@ options:
- Please refer to the Proxmox VE Administrator Guide, section Proxmox VE Storage (see - Please refer to the Proxmox VE Administrator Guide, section Proxmox VE Storage (see
U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for the latest version, tables 3 to 14) to find out format U(https://pve.proxmox.com/pve-docs/chapter-pvesm.html) for the latest version, tables 3 to 14) to find out format
supported by the provided storage backend. supported by the provided storage backend.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(qcow2). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(qcow2).
If O(proxmox_default_behavior) is set to V(no_defaults), not specifying this option is equivalent to setting it to V(unspecified). If O(proxmox_default_behavior) is set to V(no_defaults), not specifying this option is equivalent to setting it to V(unspecified).
type: str type: str
choices: [ "cloop", "cow", "qcow", "qcow2", "qed", "raw", "vmdk", "unspecified" ] choices: [ "cloop", "cow", "qcow", "qcow2", "qed", "raw", "vmdk", "unspecified" ]
@ -249,7 +249,7 @@ options:
kvm: kvm:
description: description:
- Enable/disable KVM hardware virtualization. - Enable/disable KVM hardware virtualization.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(true). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(true).
type: bool type: bool
localtime: localtime:
description: description:
@ -269,7 +269,7 @@ options:
memory: memory:
description: description:
- Memory size in MB for instance. - Memory size in MB for instance.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(512). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(512).
type: int type: int
migrate: migrate:
description: description:
@ -332,13 +332,13 @@ options:
onboot: onboot:
description: description:
- Specifies whether a VM will be started during system bootup. - Specifies whether a VM will be started during system bootup.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(true). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(true).
type: bool type: bool
ostype: ostype:
description: description:
- Specifies guest operating system. This is used to enable special optimization/features for specific operating systems. - Specifies guest operating system. This is used to enable special optimization/features for specific operating systems.
- The l26 is Linux 2.6/3.X Kernel. - The l26 is Linux 2.6/3.X Kernel.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(l26). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(l26).
type: str type: str
choices: ['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'win11', 'l24', 'l26', 'solaris'] choices: ['other', 'wxp', 'w2k', 'w2k3', 'w2k8', 'wvista', 'win7', 'win8', 'win10', 'win11', 'l24', 'l26', 'solaris']
parallel: parallel:
@ -431,7 +431,7 @@ options:
sockets: sockets:
description: description:
- Sets the number of CPU sockets. (1 - N). - Sets the number of CPU sockets. (1 - N).
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(1). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(1).
type: int type: int
sshkeys: sshkeys:
description: description:
@ -463,7 +463,7 @@ options:
tablet: tablet:
description: description:
- Enables/disables the USB tablet device. - Enables/disables the USB tablet device.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(false). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(false).
type: bool type: bool
tags: tags:
description: description:
@ -485,7 +485,7 @@ options:
template: template:
description: description:
- Enables/disables the template. - Enables/disables the template.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(false). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(false).
type: bool type: bool
timeout: timeout:
description: description:
@ -526,7 +526,7 @@ options:
vga: vga:
description: description:
- Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option 'std' or 'vmware'. - Select VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use option 'std' or 'vmware'.
- This option has no default unless O(proxmox_default_behavior) is set to V(compatiblity); then the default is V(std). - This option has no default unless O(proxmox_default_behavior) is set to V(compatibility); then the default is V(std).
type: str type: str
choices: ['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4'] choices: ['std', 'cirrus', 'vmware', 'qxl', 'serial0', 'serial1', 'serial2', 'serial3', 'qxl2', 'qxl3', 'qxl4']
virtio: virtio:
@ -949,7 +949,7 @@ class ProxmoxKvmAnsible(ProxmoxAnsible):
only_v4 = ['force', 'protection', 'skiplock'] only_v4 = ['force', 'protection', 'skiplock']
only_v6 = ['ciuser', 'cipassword', 'sshkeys', 'ipconfig', 'tags'] only_v6 = ['ciuser', 'cipassword', 'sshkeys', 'ipconfig', 'tags']
# valide clone parameters # valid clone parameters
valid_clone_params = ['format', 'full', 'pool', 'snapname', 'storage', 'target'] valid_clone_params = ['format', 'full', 'pool', 'snapname', 'storage', 'target']
clone_params = {} clone_params = {}
# Default args for vm. Note: -args option is for experts only. It allows you to pass arbitrary arguments to kvm. # Default args for vm. Note: -args option is for experts only. It allows you to pass arbitrary arguments to kvm.
@ -1011,7 +1011,7 @@ class ProxmoxKvmAnsible(ProxmoxAnsible):
# Flatten efidisk0 option to a string so that it's a string which is what Proxmoxer and the API expect # Flatten efidisk0 option to a string so that it's a string which is what Proxmoxer and the API expect
if 'efidisk0' in kwargs: if 'efidisk0' in kwargs:
efidisk0_str = '' efidisk0_str = ''
# Regexp to catch underscores in keys name, to replace them after by hypens # Regexp to catch underscores in keys name, to replace them after by hyphens
hyphen_re = re.compile(r'_') hyphen_re = re.compile(r'_')
# If present, the storage definition should be the first argument # If present, the storage definition should be the first argument
if 'storage' in kwargs['efidisk0']: if 'storage' in kwargs['efidisk0']:

View file

@ -19,12 +19,12 @@ description:
options: options:
storage: storage:
description: description:
- Only return informations on a specific storage. - Only return information on a specific storage.
aliases: ['name'] aliases: ['name']
type: str type: str
type: type:
description: description:
- Filter on a specifc storage type. - Filter on a specific storage type.
type: str type: str
author: Tristan Le Guern (@tleguern) author: Tristan Le Guern (@tleguern)
extends_documentation_fragment: extends_documentation_fragment:

View file

@ -205,7 +205,7 @@ EXAMPLES = '''
allow_vendor_change: true allow_vendor_change: true
extra_args: '--allow-arch-change' extra_args: '--allow-arch-change'
- name: Perform a installaion of nmap with the install option replacefiles - name: Perform a installation of nmap with the install option replacefiles
community.general.zypper: community.general.zypper:
name: 'nmap' name: 'nmap'
state: latest state: latest