New in version 1.9.
Parameter | Choices/Defaults | Comments |
---|---|---|
enabled bool |
| Is the repository enabled or disabled? |
mirror | A path or URL to the repository mirror. Multiple values may be provided. | |
name required | The publisher's name. aliases: publisher | |
origin | A path or URL to the repository. Multiple values may be provided. | |
state |
| Whether to ensure that a publisher is present or absent. |
sticky bool |
| Packages installed from a sticky repository can only receive updates from that repository. |
# 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/'
This module is flagged as preview which means that it is not guaranteed to have a backwards compatible interface.
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.
Hint
If you notice any issues in this documentation you can edit this document to improve it.
© 2012–2018 Michael DeHaan
© 2018 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.7/modules/pkg5_publisher_module.html