New in version 1.3.
Parameter | Choices/Defaults | Comments |
---|---|---|
name required | Package name, e.g. ( CSWnrpe ) | |
site | Specifies the repository path to install the package from. Its global definition is done in /etc/opt/csw/pkgutil.conf . | |
state required |
| Whether to install ( present ), or remove (absent ) a package.The upgrade ( latest ) operation will update/install the package to the latest version available.Note: The module has a limitation that ( latest ) only works for one package, not lists of them. |
update_catalog (added in 2.1) | Default: no | If you want to refresh your catalog from the mirror, set this to ( yes ). |
# Install a package - pkgutil: name: CSWcommon state: present # Install a package from a specific repository - pkgutil: name: CSWnrpe site: 'ftp://myinternal.repo/opencsw/kiel' state: latest
This module is flagged as stableinterface which means that the maintainers for this module guarantee that no backward incompatible interface changes will be made.
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/pkgutil_module.html