W3cubDocs

/Ansible

rhn_channel - Adds or removes Red Hat software channels

Synopsis

Adds or removes Red Hat software channels

Requirements (on host that executes module)

  • none

Options

parameter required default choices comments
name
yes
name of the software channel
password
yes
the user's password
state
no present
whether the channel should be present or not
sysname
yes
name of the system as it is known in RHN/Satellite
url
yes
The full url to the RHN/Satellite api
user
yes
RHN/Satellite user

Examples

- rhn_channel: name=rhel-x86_64-server-v2vwin-6 sysname=server01 url=https://rhn.redhat.com/rpc/api user=rhnuser password=guessme

Notes

Note

this module fetches the system id from RHN.

This is a Core Module

For more information on what this means please read Core Modules

For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.

© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/rhn_channel_module.html