Documentation

pkg5_publisher - Manages Solaris 11 Image Packaging System publishers

New in version 1.9.

Synopsis

  • IPS packages are the native packages in Solaris 11 and higher.
  • This modules will configure which publishers a client will download IPS packages from.

Options

parameter required default choices comments
enabled
no
  • True
  • False
Is the repository enabled or disabled?
mirror
no
A path or URL to the repository mirror.
Multiple values may be provided.
name
yes
The publisher's name.

aliases: publisher
origin
no
A path or URL to the repository.
Multiple values may be provided.
state
no present
  • present
  • absent
Whether to ensure that a publisher is present or absent.
sticky
no
  • True
  • False
Packages installed from a sticky repository can only receive updates from that repository.

Examples

# Fetch packages for the solaris publisher direct from Oracle:
- pkg5_publisher:
    name: solaris
    sticky: true
    origin: https://pkg.oracle.com/solaris/support/

# Configure a publisher for locally-produced packages:
- pkg5_publisher:
    name: site
    origin: 'https://pkg.example.com/site/'

Status

This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.

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