W3cubDocs

/Ansible

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.

Options

parameter required default choices comments
accept_licenses
no
  • True
  • False
Accept any licences.
aliases: accept_licences, accept
name
yes
An FRMI of the package(s) to be installed/removed/updated.
Multiple packages may be specified, separated by ,.
state
no present
  • present
  • latest
  • absent
Whether to install (present, latest), or remove (absent) a package.

Examples

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

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

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

Notes

This is an Extras Module

For more information on what this means please read Extras Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/pkg5_module.html