mirror of https://github.com/ansible/ansible.git
[yum] Make package removal confirmation strict (#69592)
* [yum] Make package removal confirmation strict Change: After removing packages, the yum module does a final check to ensure the packages are really installed. The check would include packages that were RPM `Provides:` values of another package. This means that, for example, if a third-party kernel RPM spec had `Provides: kernel` in it, removing the stock kernel would be successful but the check to see if it was really removed would fail and cause Ansible to report a failure. Test Plan: Tested on local CentOS 7 VM with kernel from elrepo which is known to `Provides: kernel`. Tickets: Fixes #69237 Refs #35672 Refs #40723 Signed-off-by: Rick Elrod <rick@elrod.me>pull/69713/head
parent
f7dfa817ae
commit
4aff87770e
Loading…
Reference in New Issue