Skip to content

myllynen/rhel-ipu-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RHEL In-Place Upgrade Automation

License: MIT

Ansible playbooks for RHEL in-place upgrade (IPU) automation.

Contents

Quick Usage Example

These playbooks automate RHEL in-place upgrade related tasks. The playbooks use supported RPMs from Red Hat repositories and only the leapp utility metadata must be downloaded separately in disconnected environments.

The minimal leapp utility answerfile example can be expanded as needed according to local findings and needs.

When using Red Hat Satellite, a content view (CV) providing both the source and target repositories is needed. The provided playbooks switch the target systems to use such a CV automatically if a corresponding activation key (AK) is provided. Also, the initial, real system CV is restored after the check when, again, a corresponding AK is provided.

The preupgrade.yml playbook will install the Leapp RPMs and leave them installed on target systems after the check as it is expected that Leapp will be used later to perform the actual in-place upgrade. Leapp RPMs and their dependencies consume some 20 MB of disk space so this should not be an issue.

For further details please see the related documentation listed below.

To run RHEL in-place preupgrade test and automatically check results without doing permanent modifications on target systems:

# Edit inventory and parameters to suite local environment
vi inventory preupgrade.yml
# Run Leapp preupgrade test and check results
ansible-playbook -i inventory preupgrade.yml

Related Documentation

Related Issues and RFEs

Related Repositories

Application and Compatibility Documentation

Blog Posts and Articles

See Also

See also https://www.redhat.com/en/interactive-labs/perform-in-place-upgrade-with-leapp.

See also https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13/html/managing_hosts/upgrading_hosts_to_next_major_rhel_release_managing-hosts.

See also https://www.redhat.com/en/blog/take-unknowns-out-rhel-upgrades-red-hat-insights.

See also https://console.redhat.com/ansible/automation-hub/repo/published/redhat/rhel_system_roles.

See also https://github.com/myllynen/rhel-ansible-roles.

License

MIT

About

RHEL In-Place Upgrade Automation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published