rpm_key integration test should also test for deleting by key ID #79584
Labels
affects_2.15
docs
This issue/PR relates to or includes documentation.
feature
This issue/PR relates to a feature request.
has_pr
This issue has an associated PR.
Summary
The rpm_key.yaml integration test tests various methods for installing and removing rpm keys, but does not test removing the key by key ID. The key ID for EPEL7 is gpg-pubkey-352c64e5-52ae6884
Issue Type
Feature Idea
Component Name
https://github.com/ansible/ansible/blob/devel/test/integration/targets/rpm_key/tasks/rpm_key.yaml
Additional Information
name: remove EPEL GPG key from keyring to confirm that already-deleted keys do not fail
rpm_key:
state: absent
key: gpg-pubkey-352c64e5-52ae6884
name: remove EPEL GPG key from keyring (idempotent)
rpm_key:
state: absent
key: gpg-pubkey-352c64e5-52ae6884
register: idempotent_test
name: check idempontence
assert:
that: "not idempotent_test.changed"
The text was updated successfully, but these errors were encountered: