mirror of https://github.com/ansible/ansible.git
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)
parent
7ca5dede97
commit
0375070871
@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- 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).
|
Binary file not shown.
@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- name: Ensure import of binary key downloaded using URLs works
|
||||
apt_key: url=https://packages.cloud.google.com/apt/doc/apt-key.gpg
|
||||
# replace the above URL to the following, after the pull request is accepted
|
||||
# apt_key: url=https://github.com/ansible/ansible/tree/devel/test/integration/targets/apt_key/samples/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