mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-23 14:31:44 -07:00
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:
|
options:
|
||||||
name:
|
name:
|
||||||
description:
|
description:
|
||||||
- "Package name, or package specifier with version, like C(name-1.0)."
|
- Package name, or package specifier with version.
|
||||||
- "Be aware that packages are not always named the same and this module will not 'translate' them per distro."
|
- 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
|
required: true
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue