community.general.pkg5_publisher (8.5.0) — module

Manages Solaris 11 Image Packaging System publishers

Authors: Peter Oliver (@mavit)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

IPS packages are the native packages in Solaris 11 and higher.

This modules will configure which publishers a client will download IPS packages from.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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/
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Configure a publisher for locally-produced packages
  community.general.pkg5_publisher:
    name: site
    origin: 'https://pkg.example.com/site/'

Inputs

    
name:
    aliases:
    - publisher
    description:
    - The publisher's name.
    required: true
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Whether to ensure that a publisher is present or absent.
    type: str

mirror:
    description:
    - A path or URL to the repository mirror.
    - Multiple values may be provided.
    elements: str
    type: list

origin:
    description:
    - A path or URL to the repository.
    - Multiple values may be provided.
    elements: str
    type: list

sticky:
    description:
    - Packages installed from a sticky repository can only receive updates from that repository.
    type: bool

enabled:
    description:
    - Is the repository enabled or disabled?
    type: bool