mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Add a code-smell test for smart quotes and remove smart quotes from all files
This commit is contained in:
parent
f9370c95d7
commit
c82cf791dd
41 changed files with 147 additions and 120 deletions
|
@ -40,7 +40,7 @@ options:
|
|||
required: false
|
||||
service_plan:
|
||||
description:
|
||||
- The service plan, either “ESSENTIALS” or “ADVANCED”.
|
||||
- The service plan, either "ESSENTIALS" or "ADVANCED".
|
||||
- MCP 2.0 Only.
|
||||
choices: [ESSENTIALS, ADVANCED]
|
||||
default: ESSENTIALS
|
||||
|
|
|
@ -136,7 +136,7 @@ options:
|
|||
required: false
|
||||
format:
|
||||
description:
|
||||
- Target drive’s backing file’s data format.
|
||||
- Target drive's backing file's data format.
|
||||
- Used only with clone
|
||||
default: qcow2
|
||||
choices: [ "cloop", "cow", "qcow", "qcow2", "qed", "raw", "vmdk" ]
|
||||
|
@ -162,7 +162,7 @@ options:
|
|||
- Values allowed are - C("host="HOSTPCIID[;HOSTPCIID2...]",pcie="1|0",rombar="1|0",x-vga="1|0"").
|
||||
- The C(host) parameter is Host PCI device pass through. HOSTPCIID syntax is C(bus:dev.func) (hexadecimal numbers).
|
||||
- C(pcie=boolean) I(default=0) Choose the PCI-express bus (needs the q35 machine model).
|
||||
- C(rombar=boolean) I(default=1) Specify whether or not the device’s ROM will be visible in the guest’s memory map.
|
||||
- C(rombar=boolean) I(default=1) Specify whether or not the device's ROM will be visible in the guest's memory map.
|
||||
- C(x-vga=boolean) I(default=0) Enable vfio-vga device support.
|
||||
- /!\ This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
|
||||
required: false
|
||||
|
@ -187,7 +187,7 @@ options:
|
|||
- Values allowed are - C("storage:size,format=value").
|
||||
- C(storage) is the storage identifier where to create the disk.
|
||||
- C(size) is the size of the disk in GB.
|
||||
- C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).
|
||||
- C(format) is the drive's backing file's data format. C(qcow2|raw|subvol).
|
||||
required: false
|
||||
default: null
|
||||
keyboard:
|
||||
|
@ -327,7 +327,7 @@ options:
|
|||
- Values allowed are - C("storage:size,format=value").
|
||||
- C(storage) is the storage identifier where to create the disk.
|
||||
- C(size) is the size of the disk in GB.
|
||||
- C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).
|
||||
- C(format) is the drive's backing file's data format. C(qcow2|raw|subvol).
|
||||
default: null
|
||||
required: false
|
||||
scsi:
|
||||
|
@ -337,7 +337,7 @@ options:
|
|||
- Values allowed are - C("storage:size,format=value").
|
||||
- C(storage) is the storage identifier where to create the disk.
|
||||
- C(size) is the size of the disk in GB.
|
||||
- C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).
|
||||
- C(format) is the drive's backing file's data format. C(qcow2|raw|subvol).
|
||||
default: null
|
||||
required: false
|
||||
scsihw:
|
||||
|
@ -469,7 +469,7 @@ options:
|
|||
- Values allowed are - C("storage:size,format=value").
|
||||
- C(storage) is the storage identifier where to create the disk.
|
||||
- C(size) is the size of the disk in GB.
|
||||
- C(format) is the drive’s backing file’s data format. C(qcow2|raw|subvol).
|
||||
- C(format) is the drive's backing file's data format. C(qcow2|raw|subvol).
|
||||
required: false
|
||||
default: null
|
||||
vmid:
|
||||
|
|
|
@ -98,7 +98,7 @@ options:
|
|||
behavior:
|
||||
description:
|
||||
- the optional behavior that can be attached to the session when it
|
||||
is created. This can be set to either ‘release’ or ‘delete’. This
|
||||
is created. This can be set to either 'release' or 'delete'. This
|
||||
controls the behavior when a session is invalidated.
|
||||
default: release
|
||||
required: false
|
||||
|
|
|
@ -24,7 +24,7 @@ version_added: 2.0
|
|||
requirements:
|
||||
- requests (either >= 2.0.0 for Python 3, or >= 1.0.0 for Python 2)
|
||||
notes:
|
||||
- Check mode isn’t supported.
|
||||
- Check mode isn't supported.
|
||||
options:
|
||||
api_key:
|
||||
description:
|
||||
|
|
|
@ -39,7 +39,7 @@ description:
|
|||
The CNOS command is passed as an argument of the method.
|
||||
This module functions the same as the cnos_command module.
|
||||
The only exception is that the following inventory variable can be specified
|
||||
[“condition = <flag string>”]
|
||||
["condition = <flag string>"]
|
||||
When this inventory variable is specified as the variable of a task, the command is executed for
|
||||
the network element that matches the flag string. Usually, commands are executed across a group
|
||||
of network devices. When there is a requirement to skip the execution of the command on one or
|
||||
|
|
|
@ -39,7 +39,7 @@ description:
|
|||
The configuration source can be a set of commands or a template written in the Jinja2 templating language.
|
||||
This module functions the same as the cnos_template module.
|
||||
The only exception is that the following inventory variable can be specified
|
||||
[“condition = <flag string>”]
|
||||
["condition = <flag string>"]
|
||||
When this inventory variable is specified as the variable of a task, the template is executed for
|
||||
the network element that matches the flag string. Usually, templates are used when commands are the
|
||||
same across a group of network devices. When there is a requirement to skip the execution of the
|
||||
|
|
|
@ -33,7 +33,7 @@ module: cnos_factory
|
|||
author: "Dave Kasberg (@dkasberg)"
|
||||
short_description: Reset the switch's startup configuration to default (factory) on devices running Lenovo CNOS
|
||||
description:
|
||||
- This module allows you to reset a switch’s startup configuration. The method provides a way to reset the
|
||||
- This module allows you to reset a switch's startup configuration. The method provides a way to reset the
|
||||
startup configuration to its factory settings. This is helpful when you want to move the switch to another
|
||||
topology as a new network device.
|
||||
This module uses SSH to manage network device configuration.
|
||||
|
|
|
@ -35,7 +35,7 @@ short_description: Perform firmware upgrade/download from a remote server on dev
|
|||
description:
|
||||
- This module allows you to work with switch firmware images. It provides a way to download a firmware image
|
||||
to a network device from a remote server using FTP, SFTP, TFTP, or SCP. The first step is to create a directory
|
||||
from where the remote server can be reached. The next step is to provide the full file path of the image’s
|
||||
from where the remote server can be reached. The next step is to provide the full file path of the image's
|
||||
location. Authentication details required by the remote server must be provided as well. By default, this
|
||||
method makes the newly downloaded firmware image the active image, which will be used by the switch during the
|
||||
next restart.
|
||||
|
|
|
@ -38,9 +38,9 @@ description:
|
|||
of a switch from a remote server. This is achieved by using startup or running configurations of the target
|
||||
device that were previously backed up to a remote server using FTP, SFTP, TFTP, or SCP.
|
||||
The first step is to create a directory from where the remote server can be reached. The next step is to
|
||||
provide the full file path of the backup configuration’s location. Authentication details required by the
|
||||
provide the full file path of the backup configuration's location. Authentication details required by the
|
||||
remote server must be provided as well.
|
||||
By default, this method overwrites the switch’s configuration file with the newly downloaded file.
|
||||
By default, this method overwrites the switch's configuration file with the newly downloaded file.
|
||||
This module uses SSH to manage network device configuration.
|
||||
The results of the operation will be placed in a directory named 'results'
|
||||
that must be created by the user in their local directory to where the playbook is run.
|
||||
|
|
|
@ -50,7 +50,7 @@ options:
|
|||
worker:
|
||||
choices: ['sync', 'eventlet', 'gevent', 'tornado ', 'gthread', 'gaiohttp']
|
||||
description:
|
||||
- 'The type of workers to use. The default class (sync) should handle most “normal” types of workloads.'
|
||||
- 'The type of workers to use. The default class (sync) should handle most "normal" types of workloads.'
|
||||
user:
|
||||
description:
|
||||
- 'Switch worker processes to run as this user.'
|
||||
|
|
|
@ -20,9 +20,9 @@ author: "Michael Gruener (@mgruener)"
|
|||
version_added: "2.2"
|
||||
short_description: Create SSL certificates with Let's Encrypt
|
||||
description:
|
||||
- "Create and renew SSL certificates with Let's Encrypt. Let’s Encrypt is a
|
||||
- "Create and renew SSL certificates with Let's Encrypt. Let's Encrypt is a
|
||||
free, automated, and open certificate authority (CA), run for the
|
||||
public’s benefit. For details see U(https://letsencrypt.org). The current
|
||||
public's benefit. For details see U(https://letsencrypt.org). The current
|
||||
implementation supports the http-01, tls-sni-02 and dns-01 challenges."
|
||||
- "To use this module, it has to be executed at least twice. Either as two
|
||||
different tasks in the same run or during multiple runs."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue