redhat-cop / infra.leapp

Collection of Ansible roles for automating RHEL in-place upgrades using Leapp.
MIT License
44 stars 34 forks source link

Allow leapp packages to be removed #153

Closed gothicx closed 3 months ago

gothicx commented 6 months ago

Leapp packages that were installed with the Leapp utility are automatically added to the exclude list to prevent critical files from being removed

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/upgrading_from_rhel_7_to_rhel_8/performing-post-upgrade-tasks-rhel-7-to-rhel-8_upgrading-from-rhel-7-to-rhel-8#doc-wrapper

djdanielsson commented 5 months ago

yum module actually has disable_excludes option which I think is better, if you update to use that then I will approve

jeffmcutter commented 4 months ago

This is already present. https://github.com/redhat-cop/infra.leapp/blob/main/roles/upgrade/tasks/leapp-post-upgrade.yml#L3

swapdisk commented 3 months ago

As Jeffery noted, the Clean dnf exclude list task earlier in this task file is already doing this.