A simple role to register RHEL machines to the RHSM.
Any RHEL machine can be registered to the RHSM.
In order for the role to work the following variables sets must be present: Username and password:
Please note that these sets are mutually exclusive.
This is an example of how to use the role:
--- - name: Prepare machines with RHSM Registration ansible.builtin.include_role: name: role-rhsm-registration when: ansible_os_family == 'RedHat' register: rhsm_out
Amaya Rosa Gil Pippino