community / community.general / 0.1.1 / module / pkgutil Manage CSW-Packages on Solaris Authors: Alexander Winkler (@dermute) stableinterface | supported by communitycommunity.general.pkgutil (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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