ansible.builtin.rhn_channel (v2.9.27) — module

Adds or removes Red Hat software channels

| "added in version" 1.1 of ansible.builtin"

Authors: Vincent Van der Kussen (@vincentvdk)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

Description

Adds or removes Red Hat software channels.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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

Inputs

    
url:
    description:
    - The full URL to the RHN/Satellite API.
    required: true

name:
    description:
    - Name of the software channel.
    required: true

user:
    description:
    - RHN/Satellite login.
    required: true

state:
    default: present
    description:
    - Whether the channel should be present or not, taking action if the state is different
      from what is stated.

sysname:
    description:
    - Name of the system as it is known in RHN/Satellite.
    required: true

password:
    description:
    - RHN/Satellite password.
    required: true