Note
This plugin is part of the community.general collection.
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.rhsm_release
.
The below requirements are needed on the host that executes this module.
Parameter | Choices/Defaults | Comments |
---|---|---|
release string / required | RHSM release version to use (use null to unset) |
Note
redhat_subscription
module to register a system prior to setting the RHSM release.# Set release version to 7.1 - name: Set RHSM release version community.general.rhsm_release: release: "7.1" # Set release version to 6Server - name: Set RHSM release version community.general.rhsm_release: release: "6Server" # Unset release version - name: Unset RHSM release release community.general.rhsm_release: release: null
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
current_release string | success | The current RHSM release version value |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/community/general/rhsm_release_module.html