community / community.general / 2.5.9 / module / rhn_channel Adds or removes Red Hat software channels Authors: Vincent Van der Kussen (@vincentvdk)community.general.rhn_channel (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
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 C(False), SSL certificates will not be validated. - This should only set to C(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