New in version 1.3.
Manages CSW packages (SVR4 format) on Solaris 10 and 11. These were the native packages on Solaris <= 10 and are available as a legacy feature in Solaris 11. Pkgutil is an advanced packaging system, which resolves dependency on installation. It is designed for CSW packages.
parameter | required | default | choices | comments |
---|---|---|---|---|
name | yes | Package name, e.g. ( CSWnrpe ) |
||
site | no |
Specifies the repository path to install the package from.
Its global definition is done in
/etc/opt/csw/pkgutil.conf . |
||
state | yes |
|
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)
| 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'
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/pkgutil_module.html