On this page
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  
        bool
         | 
      
       
  | 
      
        
        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 | 
       
  | 
      
        
        Whether to install (present, latest), or remove (absent) a package.
         | 
     
Notes
Note
- The naming of IPS packages is explained at http://www.oracle.com/technetwork/articles/servers-storage-admin/ips-package-versioning-2232906.html.
 
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
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
Maintenance
This module is flagged as community which means that it is maintained by the Ansible Community. See Module Maintenance & Support for more info.
For a list of other modules that are also maintained by the Ansible Community, see here.
Author
- Peter Oliver (@mavit)
 
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
 https://docs.ansible.com/ansible/2.6/modules/pkg5_module.html