Changed an URL to a binary GnuPG key used by test case to a resource controlled by the Ansbile developers, rather than by a third party that could replace they key to a non-binary one or delete it altogether. Co-authored-by: Sam Doran <sdoran@redhat.com>. Removed a binary key from the repo

This commit is contained in:
Maxim Masiutin 2021-04-28 18:09:09 +02:00
parent 3bc2e7783c
commit 4cc80ef9c9
2 changed files with 2 additions and 3 deletions

View file

@ -1,9 +1,8 @@
---
- 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
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