community.general.rhn_channel module – Adds or removes Red Hat software channels
Note
This module is part of the community.general collection (version 4.8.3).
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.rhn_channel
.
Parameters
Parameter |
Comments |
---|---|
Name of the software channel. |
|
RHN/Satellite password. |
|
Whether the channel should be present or not, taking action if the state is different from what is stated. Choices:
|
|
Name of the system as it is known in RHN/Satellite. |
|
The full URL to the RHN/Satellite API. |
|
RHN/Satellite login. |
|
If This should only set to Choices:
|
Examples
- name: Add a Red Hat software channel
community.general.rhn_channel:
name: rhel-x86_64-server-v2vwin-6
sysname: server01
url: https://rhn.redhat.com/rpc/api
user: rhnuser
password: guessme
delegate_to: localhost
Authors
Vincent Van der Kussen (@vincentvdk)
Collection links
Issue Tracker Repository (Sources) Submit a bug report Request a feature Communication