community / community.general / 8.5.0 / module / rhn_channel
Removed in 10.0.0
Reason:RHN hosted at redhat.com was discontinued years ago, and Spacewalk 5 (which uses RHN) is EOL since 2020, May 31st; while this module could work on Uyuni / SUSE Manager (fork of Spacewalk 5), we have not heard about anyone using it in those setups. | Alternative:Contact the community.general maintainers to report the usage of this module, and potentially step up to maintain it.
Adds or removes Red Hat software channels
Authors: Vincent Van der Kussen (@vincentvdk)
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
Adds or removes Red Hat software channels.
- 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
url: description: - The full URL to the RHN/Satellite API. required: true type: str name: description: - Name of the software channel. required: true type: str user: description: - RHN/Satellite login. required: true type: str state: choices: - present - absent default: present description: - Whether the channel should be present or not, taking action if the state is different from what is stated. type: str sysname: description: - Name of the system as it is known in RHN/Satellite. required: true type: str password: aliases: - pwd description: - RHN/Satellite password. required: true type: str validate_certs: default: true description: - If V(false), SSL certificates will not be validated. - This should only set to V(false) when used on self controlled sites using self-signed certificates, and you are absolutely sure that nobody can modify traffic between the module and the site. type: bool version_added: 0.2.0 version_added_collection: community.general