mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
yum/dnf: fail when space separated string of names (#47109)
* yum/dnf: fail when space separated string of names * Groups allow spaces in names
This commit is contained in:
@@ -26,9 +26,10 @@ description:
|
||||
options:
|
||||
name:
|
||||
description:
|
||||
- "A list of package names, or package specifier with version, like C(name-1.0)
|
||||
- "A package name or package specifier with version, like C(name-1.0).
|
||||
When using state=latest, this can be '*' which means run: dnf -y update.
|
||||
You can also pass a url or a local path to a rpm file."
|
||||
You can also pass a url or a local path to a rpm file.
|
||||
To operate on several packages this can accept a comma separated string of packages or a list of packages."
|
||||
required: true
|
||||
aliases:
|
||||
- pkg
|
||||
|
||||
@@ -39,7 +39,7 @@ options:
|
||||
See the C(allow_downgrade) documentation for caveats with downgrading packages.
|
||||
- When using state=latest, this can be C('*') which means run C(yum -y update).
|
||||
- You can also pass a url or a local path to a rpm file (using state=present).
|
||||
To operate on several packages this can accept a comma separated list of packages or (as of 2.0) a list of packages.
|
||||
To operate on several packages this can accept a comma separated string of packages or (as of 2.0) a list of packages.
|
||||
aliases: [ pkg ]
|
||||
exclude:
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user