pkg5 – Manages packages with the Solaris 11 Image Packaging System

New in version 1.9.

Synopsis

  • IPS packages are the native packages in Solaris 11 and higher.

Parameters

Parameter Choices/Defaults Comments
accept_licenses
boolean
    Choices:
  • no ←
  • yes
Accept any licences.

aliases: accept, accept_licences
name
- / required
An FRMI of the package(s) to be installed/removed/updated.
Multiple packages may be specified, separated by ,.
state
-
    Choices:
  • absent
  • latest
  • present ←
Whether to install (present, latest), or remove (absent) a package.

Examples

- name: Install Vim
  pkg5:
    name: editor/vim

- name: Remove finger daemon
  pkg5:
    name: service/network/finger
    state: absent

- name: Install several packages at once
  pkg5:
    name:
    - /file/gnu-findutils
    - /text/gnu-grep

Status

Authors

  • Peter Oliver (@mavit)

Hint

If you notice any issues in this documentation you can edit this document to improve it.