mirror of https://github.com/ansible/ansible.git
The error message about the failure to import a 'gpg' key by the 'ansible.builtin.apt_key' module was incorrect (https://github.com/ansible/ansible/issues/74423)
Co-authored-by: Sam Doran <sdoran@redhat.com>pull/74476/head
parent
567361b124
commit
e4d7fc9745
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- The error message about the failure to import a ```gpg`` key by the ``apt_key`` module was incorrect (https://github.com/ansible/ansible/issues/74423).
|
@ -0,0 +1,5 @@
|
||||
- name: "Ensure import of a deliberately corrupted downloaded GnuPG binary key results in an 'inline data' occurence in the message"
|
||||
apt_key:
|
||||
url: https://ansible-ci-files.s3.us-east-1.amazonaws.com/test/integration/targets/apt_key/apt-key-corrupt-zeros-2k.gpg
|
||||
register: gpg_inline_result
|
||||
failed_when: "not ('inline data' in gpg_inline_result.msg)"
|
Loading…
Reference in New Issue