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:
Tayeb Ben Achour 2019-05-24 18:01:48 +02:00 committed by Alicia Cozine
parent 4f25435cd2
commit f76556e56d

View file

@ -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: