mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix rpm_key test on Fedora 27.
This commit is contained in:
parent
3f2c90914e
commit
39aa50022a
1 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@
|
|||
- name: confirm that signature check failed
|
||||
assert:
|
||||
that:
|
||||
- "'MISSING KEYS' in sl_check.stdout"
|
||||
- "'MISSING KEYS' in sl_check.stdout or 'SIGNATURES NOT OK' in sl_check.stdout"
|
||||
- "sl_check.failed"
|
||||
|
||||
- name: remove EPEL GPG key from keyring (idempotent)
|
||||
|
@ -91,7 +91,7 @@
|
|||
|
||||
- name: confirm that signature check succeeded
|
||||
assert:
|
||||
that: "'rsa sha1 (md5) pgp md5 OK' in sl_check.stdout"
|
||||
that: "'rsa sha1 (md5) pgp md5 OK' in sl_check.stdout or 'digests signatures OK' in sl_check.stdout"
|
||||
|
||||
- name: remove GPG key from url
|
||||
rpm_key:
|
||||
|
@ -106,7 +106,7 @@
|
|||
- name: confirm that signature check failed
|
||||
assert:
|
||||
that:
|
||||
- "'MISSING KEYS' in sl_check.stdout"
|
||||
- "'MISSING KEYS' in sl_check.stdout or 'SIGNATURES NOT OK' in sl_check.stdout"
|
||||
- "sl_check.failed"
|
||||
|
||||
- name: add GPG key from url
|
||||
|
@ -120,7 +120,7 @@
|
|||
|
||||
- name: confirm that signature check succeeded
|
||||
assert:
|
||||
that: "'rsa sha1 (md5) pgp md5 OK' in sl_check.stdout"
|
||||
that: "'rsa sha1 (md5) pgp md5 OK' in sl_check.stdout or 'digests signatures OK' in sl_check.stdout"
|
||||
|
||||
- name: remove all keys from key ring
|
||||
shell: "rpm -q gpg-pubkey | xargs rpm -e"
|
||||
|
@ -136,7 +136,7 @@
|
|||
|
||||
- name: confirm that signature check succeeded
|
||||
assert:
|
||||
that: "'rsa sha1 (md5) pgp md5 OK' in sl_check.stdout"
|
||||
that: "'rsa sha1 (md5) pgp md5 OK' in sl_check.stdout or 'digests signatures OK' in sl_check.stdout"
|
||||
|
||||
#
|
||||
# Cleanup
|
||||
|
|
Loading…
Reference in a new issue