Update package.py (#56731)
The "-" does not work as expected if I want to get a specific version of a package. After replacing the dash with the equal sign. the task passed successfully. Depends on package manager - adds example so we show both syntaxes.
This commit is contained in:
parent
4f25435cd2
commit
f76556e56d
1 changed files with 3 additions and 2 deletions
|
@ -27,8 +27,9 @@ description:
|
|||
options:
|
||||
name:
|
||||
description:
|
||||
- "Package name, or package specifier with version, like C(name-1.0)."
|
||||
- "Be aware that packages are not always named the same and this module will not 'translate' them per distro."
|
||||
- Package name, or package specifier with version.
|
||||
- Syntax varies with package manager. For example C(name-1.0) or C(name=1.0).
|
||||
- Package names also vary with package manager; this module will not "translate" them per distro. For example C(libyaml-dev), C(libyaml-devel).
|
||||
required: true
|
||||
state:
|
||||
description:
|
||||
|
|
Loading…
Reference in a new issue