community.general.svr4pkg – Manage Solaris SVR4 packages¶
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.svr4pkg
.
Synopsis¶
Manages SVR4 packages on Solaris 10 and 11.
These were the native packages on Solaris <= 10 and are available as a legacy feature in Solaris 11.
Note that this is a very basic packaging system. It will not enforce dependencies on install or remove.
Parameters¶
Examples¶
- name: Install a package from an already copied file
community.general.svr4pkg:
name: CSWcommon
src: /tmp/cswpkgs.pkg
state: present
- name: Install a package directly from an http site
community.general.svr4pkg:
name: CSWpkgutil
src: 'http://get.opencsw.org/now'
state: present
zone: current
- name: Install a package with a response file
community.general.svr4pkg:
name: CSWggrep
src: /tmp/third-party.pkg
response_file: /tmp/ggrep.response
state: present
- name: Ensure that a package is not installed
community.general.svr4pkg:
name: SUNWgnome-sound-recorder
state: absent
- name: Ensure that a category is not installed
community.general.svr4pkg:
name: FIREFOX
state: absent
category: true
Authors¶
Boyd Adamson (@brontitall)