redhat_sap.sap_rhsm

This role is no longer in use and should be replaced with fedora.linux_system_role.rhc.

sap-rhsm Ansible Lint Ansible Galaxy Import

This role sets up Red Hat Subscriptions on RHEL 8 so that SAP Solutions can be installed on the system(s).

Requirements

You need a valid Red Hat subscription, either directly from redhat.com or through Red Hat Satellite.

Role Variables

For specific details, see the Example Inventory below. Generally, these are the variables you can use:

Variable Description Required?
sap_rhsm_username Username for registering on access.redhat.com Yes, if using username/password
sap_rhsm_password Password for registering on access.redhat.com Yes, if using username/password
sap_rhsm_server_hostname Hostname/FQDN of the Red Hat Satellite for registration Yes, if using Satellite
sap_rhsm_activationkey Activation key for Red Hat Satellite registration Yes, if using Satellite
sap_rhsm_org_id Organization ID for Red Hat Satellite registration Yes, if using Satellite
sap_rhsm_pool_ids Subscription pool IDs to use No
sap_rhsm_repos List of repositories to enable No
sap_rhsm_force_register Set to 'yes' to force unregister and re-register No
sap_rhsm_proxy_hostname HTTP proxy hostname No
sap_rhsm_proxy_port HTTP proxy port No
sap_rhsm_proxy_user HTTP proxy username No
sap_rhsm_proxy_password HTTP proxy password No
sap_rhsm_register_insights Register system to Red Hat Insights No (defaults to true)
sap_rhsm_register_insights_retries How many times to retry uploading metadata to Insights No (defaults to 10)
sap_rhsm_use_e4s Use 'e4s' repositories or not No (defaults to true)

Dependencies

None

Example Playbook

    - hosts: servers
      roles:
      - role: sap-rhsm

Example Inventory

Using Satellite:

sap_rhsm_server_hostname: 'sat.example.com'
sap_rhsm_org_id: 'my-org'
sap_rhsm_activationkey: 'my-org-key'

Using access.redhat.com:

sap_rhsm_username: 'my-username'
sap_rhsm_password: 'my-password'

License

Apache License 2.0

Author Information

Red Hat SAP Community of Practice

Informazioni sul progetto

Register and subscribe a RHEL Server to RHEL for SAP Solutions related repositories

Installa
ansible-galaxy install redhat_sap.sap_rhsm
Licenza
apache-2.0
Download
30.3k
Proprietario
Community repositories for SAP Solutions on Red Hat Technologies