Skip to content
This repository was archived by the owner on Jun 21, 2020. It is now read-only.

Ansible: Operating System RHEL SubscriptionManager

Scot P. Floess edited this page Jul 2, 2017 · 3 revisions

operatingSystem/rhel/subscriptionManager

This role uses the register and repos roles to enable the RHEL SubscriptionManager.

Variables

None

Sub Roles

operatingSystem/rhel/subscriptionManager/register

This role will first attempt to unsubscribe and then resubscribe using the Subscription Manager.

Variables

Required
  • rhel_rhn_user: the RHN user.
  • rhel_rhn_password: the password.
Optional
  • rhel_rhn_pool: if provided, will be the pool subscribed to (not auto attached).

operatingSystem/rhel/subscriptionManager/repos

This role will first disable all repos and then enable the ones denoted in the variable repos.

Variables

Optional
  • repos: by default this will contain the children rhel-7-server-rpms, rhel-7-server-extras-rpms and rhel-7-server-optional-rpms.
Clone this wiki locally