New in version 1.9.
parameter | required | default | choices | comments |
---|---|---|---|---|
enabled | no |
| 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 |
| Whether to ensure that a publisher is present or absent. |
sticky | no |
| 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.
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, Testing Ansible and Developing Modules.
© 2012–2017 Michael DeHaan
© 2017 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/pkg5_publisher_module.html