Adds or removes Red Hat software channels
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 |
- rhn_channel: name=rhel-x86_64-server-v2vwin-6 sysname=server01 url=https://rhn.redhat.com/rpc/api user=rhnuser password=guessme
Note
this module fetches the system id from RHN.
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