rhsm_release – Set or Unset RHSM Release version¶
New in version 2.8.
The below requirements are needed on the host that executes this module.
Red Hat Enterprise Linux 6+ with subscription-manager installed
- / required
RHSM release version to use (use null to unset)
This module will fail on an unregistered system. Use the
redhat_subscriptionmodule to register a system prior to setting the RHSM release.
# Set release version to 7.1 - name: Set RHSM release version rhsm_release: release: "7.1" # Set release version to 6Server - name: Set RHSM release version rhsm_release: release: "6Server" # Unset release version - name: Unset RHSM release release rhsm_release: release: null
Common return values are documented here, the following are the fields unique to this module:
The current RHSM release version value