Satellite Host Errata Remediation
A 4-step recipe with Red Hat. We can help you get access.
Recipe · 4 steps
Satellite Host Errata Remediation
with Red Hat · IT Infrastructure Management
Locate a host, list its errata, and update its content view assignment.
- List managed hosts filtered by the search expression and capture the id of the first match.
- Retrieve the matched host's full record, including its current content view and errata counts.
- List the errata applicable to the host so an operator can confirm what patches are outstanding before changing its assignment.
- Update the host to assign it to the desired content view and lifecycle environment so the applicable errata become available.
What you'll need to have ready
- token: Bearer token for the Satellite API.
- search: A search expression used to locate the target host.
- contentViewName: The content view name to assign the host to.
- lifecycleEnvironmentName: The lifecycle environment name to assign the host to.
For your developer
Arazzo workflow red-hat:host-errata-remediation, 4 operations: listHosts → getHost → listHostErrata → updateHost. Specs on APIs.io.