community.general.pkg5 – Manages packages with the Solaris 11 Image Packaging System

Note

This plugin is part of the community.general collection (version 1.3.2).

To install it use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.pkg5.

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
be_name
string
Creates a new boot environment with the given name.
name
list / elements=string / required
An FRMI of the package(s) to be installed/removed/updated.
Multiple packages may be specified, separated by ,.
refresh
boolean
    Choices:
  • no
  • yes
Refresh publishers before execution.
state
string
    Choices:
  • absent
  • latest
  • present
  • installed
  • removed
  • uninstalled
Whether to install (present, latest), or remove (absent) a package.

Notes

Examples

- name: Install Vim
  community.general.pkg5:
    name: editor/vim

- name: Install Vim without refreshing publishers
  community.general.pkg5:
    name: editor/vim
    refresh: no

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

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

Authors

  • Peter Oliver (@mavit)

© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/pkg5_module.html