Skip to content

Commit

Permalink
Amend doc of name= parameter to indicate a list of packages can be us…
Browse files Browse the repository at this point in the history
…ed (ansible#82309)

* Amend doc of name= parameter to indicate a list of packages can be used

One of the examples here shows package installing a list of packages, but the name= parameter did not reflect this possibility.

* add dependency to underlying package manager
  • Loading branch information
jpmens authored Nov 30, 2023
1 parent e80507a commit ee86daf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ansible/modules/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- Package name, or package specifier with version.
- Syntax varies with package manager. For example V(name-1.0) or V(name=1.0).
- Package names also vary with package manager; this module will not "translate" them per distro. For example V(libyaml-dev), V(libyaml-devel).
- To operate on several packages this can accept a comma separated string of packages or a list of packages, depending on the underlying package manager.
required: true
state:
description:
Expand Down

0 comments on commit ee86daf

Please sign in to comment.