Member-only story

Register a system with Red Hat Subscription-Manager — Ansible module redhat_subscription

How to automate the registration of a machine RedHat Enterprise Linux 8 to subscription-manager using the access.redhat.com credential, assign a pool of entitlement, and install some packages.

Luca Berton
7 min readNov 26, 2021

How to register a system with Red Hat Subscription-Manager with Ansible?
I’m going to show you a live demo and some simple Ansible code.
I’m Luca Berton and welcome to today’s episode of Ansible Pilot.

Ansible register a system with Red Hat Subscription-Manager

  • community.general.redhat_subscription
  • Manage registration and subscriptions to RHSM using the subscription-manager command

Today we’re talking about the Ansible module redhat_subscription.
The full name is `community.general.redhat_subscription`, which means that is part of the collection `community.general` maintained by the Ansible community
Manage registration and subscriptions to RHSM using the subscription-manager command.
This module…

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet