community.general.pkg5_publisher module – Manages Solaris 11 Image Packaging System publishers
Note
This module is part of the community.general collection (version 10.0.1).
You might already have this collection installed if you are using the ansible
package.
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.pkg5_publisher
.
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.
Parameters
Parameter |
Comments |
---|---|
Is the repository enabled or disabled? Choices:
|
|
A path or URL to the repository mirror. Multiple values may be provided. |
|
The publisher’s name. |
|
A path or URL to the repository. Multiple values may be provided. |
|
Whether to ensure that a publisher is present or absent. Choices:
|
|
Packages installed from a sticky repository can only receive updates from that repository. Choices:
|
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: none |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Examples
- name: Fetch packages for the solaris publisher direct from Oracle
community.general.pkg5_publisher:
name: solaris
sticky: true
origin: https://pkg.oracle.com/solaris/support/
- name: Configure a publisher for locally-produced packages
community.general.pkg5_publisher:
name: site
origin: 'https://pkg.example.com/site/'