community.general.pkg5_publisher – Manages Solaris 11 Image Packaging System publishers

From Get docs
Ansible/docs/2.11/collections/community/general/pkg5 publisher module


community.general.pkg5_publisher – Manages Solaris 11 Image Packaging System publishers

Note

This plugin is part of the community.general collection (version 2.0.1).

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 Choices/Defaults Comments

enabled

boolean

  • no
  • yes

Is the repository enabled or disabled?

mirror

list / elements=string

A path or URL to the repository mirror.

Multiple values may be provided.

name

string / required

The publisher's name.


aliases: publisher

origin

list / elements=string

A path or URL to the repository.

Multiple values may be provided.

state

string

  • present

  • absent

Whether to ensure that a publisher is present or absent.

sticky

boolean

  • no
  • yes

Packages installed from a sticky repository can only receive updates from that repository.



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/'

Authors

  • Peter Oliver (@mavit)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.11/collections/community/general/pkg5_publisher_module.html