Node/Package
The packages installed on the host
List the packages installed on the host
Lists each installed package with its version: dpkg on the Debian family, rpm on the other Linux families, and Homebrew on macOS.
Install a package
Installs the package with apt-get install, at the version when one is given. A package that is installed, at that version when one is given, does not change and reports changed: false. It runs on the Debian family only, and elsewhere reports skipped.
Remove a package
Removes the package with apt-get remove. A package that is not installed does not change and reports changed: false. It runs on the Debian family only, and elsewhere reports skipped.
Get one installed package
Reads one package from the same list. A package that is not installed is not found.