community.general.pkgutil – OpenCSW package management on Solaris¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.pkgutil
.
Synopsis¶
This module installs, updates and removes packages from the OpenCSW project for Solaris.
Unlike the community.general.svr4pkg module, it will resolve and download dependencies.
See https://www.opencsw.org/ for more information about the project.
Parameters¶
Notes¶
Note
In order to check the availability of packages, the catalog cache under
/var/opt/csw/pkgutil
may be refreshed even in check mode.
Examples¶
- name: Install a package
community.general.pkgutil:
name: CSWcommon
state: present
- name: Install a package from a specific repository
community.general.pkgutil:
name: CSWnrpe
site: ftp://myinternal.repo/opencsw/kiel
state: latest
- name: Remove a package
community.general.pkgutil:
name: CSWtop
state: absent
- name: Install several packages
community.general.pkgutil:
name:
- CSWsudo
- CSWtop
state: present
- name: Update all packages
community.general.pkgutil:
name: '*'
state: latest
- name: Update all packages and force versions to match latest in catalog
community.general.pkgutil:
name: '*'
state: latest
force: yes
Authors¶
Alexander Winkler (@dermute)
David Ponessa (@scathatheworm)