ansible / ansible.builtin / v2.9.27 / module / pkgutil Manage CSW-Packages on Solaris | "added in version" 1.3 of ansible.builtin" Authors: Alexander Winkler (@dermute) stableinterface | supported by communityansible.builtin.pkgutil (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
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.
# 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
name: description: - Package name, e.g. (C(CSWnrpe)) required: true site: description: - Specifies the repository path to install the package from. - Its global definition is done in C(/etc/opt/csw/pkgutil.conf). required: false state: choices: - present - absent - latest description: - Whether to install (C(present)), or remove (C(absent)) a package. - The upgrade (C(latest)) operation will update/install the package to the latest version available. - 'Note: The module has a limitation that (C(latest)) only works for one package, not lists of them.' required: true update_catalog: default: false description: - If you want to refresh your catalog from the mirror, set this to (C(yes)). required: false type: bool version_added: '2.1' version_added_collection: ansible.builtin