mirror of https://github.com/ansible/ansible.git
[bp-2.11]: apt_key - Binary GnuPG keys downloaded via URL were corrupted (#74522)
* Binary GnuPG keys downloaded via URLs by the 'ansible.builtin.apt_key' module were corrupted so 'gpg' could not import them (https://github.com/ansible/ansible/issues/74424) (cherry picked from commitpull/74418/head0375070871
) (cherry picked from commit4cc80ef9c9
)
parent
5b0a3ac43d
commit
71fc9ec393
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- apt_key - Binary GnuPG keys downloaded via URLs were corrupted so GnuPG could not import them (https://github.com/ansible/ansible/issues/74424).
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Ensure import of binary key downloaded using URLs works
|
||||
apt_key:
|
||||
url: https://ansible-ci-files.s3.us-east-1.amazonaws.com/test/integration/targets/apt_key/apt-key-example-binary.gpg
|
||||
register: apt_key_binary_test
|
||||
|
||||
- name: Validate the results
|
||||
assert:
|
||||
that:
|
||||
- 'apt_key_binary_test.changed is defined'
|
||||
- 'apt_key_binary_test.changed'
|
Loading…
Reference in New Issue