Skip to content

Commit

Permalink
Allow leapp packages to be removed
Browse files Browse the repository at this point in the history
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
  • Loading branch information
gothicx authored Jan 29, 2024
1 parent 205e461 commit 19400d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/upgrade/tasks/leapp-post-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
- name: Include check-for-old-packages.yml
ansible.builtin.include_tasks: check-for-old-packages.yml

- name: Delete exclude line from dnf.conf
ansible.builtin.command: "/bin/dnf config-manager --save --setopt exclude=''"

- name: Remove leapp related packages
ansible.builtin.package:
name:
Expand Down

0 comments on commit 19400d9

Please sign in to comment.