Red Hat Subscription
Required Parameters
Name |
Description |
---|---|
|
Method to use for activation of subscription management. If Satellite, the role will determine the Satellite Server version (5 or 6) and take the appropriate registration actions.
|
|
RHEL release version (e.g. 8.1) |
|
Register the system even if it is already registered.
|
|
|
|
The list of repositories to enable or disable.When providing multiple values, a YAML list or a comma separated list are accepted. |
|
The state of all repos in redhat_subscription_repos.
|
|
This parameter disables all currently enabled repositories that are not not specified in redhat_subscription_repos. Only set this to true if the redhat_subscription_repos field has multiple repos.
|
|
FQDN of subscription server. Mandatory field if redhat_subscription_method is set to satellite.
|
|
Port to use when connecting to subscription server.Set 443 for Satellite or RHN. If capsule is used, set 8443.
|
|
Disable certificate validation.
|
|
Sets the number of certificates which should be used to verify the servers identity.This is an advanced control which can be used to secure on premise installations.
|
|
Set this to a non-blank value if subscription-manager should use a reverse proxy to access the subscription service. This sets the protocol for the reverse proxy.
|
|
Set this to a non-blank value if subscription-manager should use a reverse proxy to access the subscription service. |
|
Set this to a non-blank value if subscription-manager should use a reverse proxy to access the subscription service. This sets the username for the reverse proxy. |
|
Set this to a non-blank value if subscription-manager should use a reverse proxy to access the subscription service. This sets the username for the reverse proxy. |
|
Set this to a non-blank value if subscription-manager should use a reverse proxy to access the subscription service. This sets the password for the reverse proxy. |
|
This setting is the prefix for all content which is managed by the subscription service.This should be the hostname for the Red Hat CDN, the local Satellite or Capsule depending on your deployment. This field is mandatory if redhat_subscription_method is set to satellite
|
|
|
|
Set to true if the /etc/yum.repos.d/redhat.repo should be updated with every server command. This will make yum less efficient, but can ensure that the most recent data is brought down from the subscription service.
|
|
Set to true if rhsmcertd should report the system’s current package profile to the subscription service. This report helps the subscription service provide better errata notifications.
|
|
The number of minutes between runs of the rhsmcertd daemon.
|
|
The number of minutes between attempts to run auto-attach on this consumer.
|
Before running omnia.yml
, it is mandatory that red hat subscription be set up on compute nodes running RHEL.
To set up Red hat subscription, fill in the
rhsm_config.yml
file. Once it’s filled in, run the template using Ansible.The flow of the playbook will be determined by the value of
redhat_subscription_method
inrhsm_config.yml
.If
redhat_subscription_method
is set toportal
, pass the valuesusername
andpassword
. For CLI, run the command:cd utils ansible-playbook rhsm_subscription.yml -i inventory -e redhat_subscription_username="<username>" -e redhat_subscription_password="<password>"
If
redhat_subscription_method
is set tosatellite
, pass the valuesorganizational identifier
andactivation key
. For CLI, run the command:cd utils ansible-playbook rhsm_subscription.yml -i inventory -e redhat_subscription_activation_key="<activation-key>" -e redhat_subscription_org_id="<org-id>"
Where the inventory refers to a file listing all manager and compute nodes per the format provided in inventory file.
Red Hat Unsubscription
To disable subscription on RHEL nodes, the red_hat_unregister_template
has to be called:
cd utils
ansible_playbook rhsm_unregister.yml -i inventory
If you have any feedback about Omnia documentation, please reach out at omnia.readme@dell.com.