mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
[PR #7429/e556abb5 backport][stable-7] Many typo fixes (#7430)
Many typo fixes (#7429)
(cherry picked from commit e556abb56b
)
Co-authored-by: Alex <alex@alxg.de>
This commit is contained in:
parent
4175c4c8fe
commit
e19fda6cb0
46 changed files with 66 additions and 66 deletions
|
@ -47,7 +47,7 @@ options:
|
|||
type: str
|
||||
template_name:
|
||||
description:
|
||||
- Name of VM template to use to create a new instace
|
||||
- Name of VM template to use to create a new instance
|
||||
type: str
|
||||
template_id:
|
||||
description:
|
||||
|
@ -195,12 +195,12 @@ options:
|
|||
version_added: '0.2.0'
|
||||
datastore_id:
|
||||
description:
|
||||
- Name of Datastore to use to create a new instace
|
||||
- Name of Datastore to use to create a new instance
|
||||
version_added: '0.2.0'
|
||||
type: int
|
||||
datastore_name:
|
||||
description:
|
||||
- Name of Datastore to use to create a new instace
|
||||
- Name of Datastore to use to create a new instance
|
||||
version_added: '0.2.0'
|
||||
type: str
|
||||
updateconf:
|
||||
|
@ -1390,7 +1390,7 @@ def check_name_attribute(module, attributes):
|
|||
if attributes.get("NAME"):
|
||||
import re
|
||||
if re.match(r'^[^#]+#*$', attributes.get("NAME")) is None:
|
||||
module.fail_json(msg="Ilegal 'NAME' attribute: '" + attributes.get("NAME") +
|
||||
module.fail_json(msg="Illegal 'NAME' attribute: '" + attributes.get("NAME") +
|
||||
"' .Signs '#' are allowed only at the end of the name and the name cannot contain only '#'.")
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue