summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Doran <sdoran@redhat.com>2021-03-23 16:30:44 -0400
committerMatt Clay <matt@mystile.com>2021-03-23 13:55:40 -0700
commitc4e211a4291162c17054f44ad5381856ffff802f (patch)
treee1f460063969b471353fc85c05ca3a2ae0c0b17b
parenta1ece490068a38d0088321c0ba222652fa96338c (diff)
downloadansible-c4e211a4291162c17054f44ad5381856ffff802f.tar.gz
apt_key - update key ID and URL used in test
The GPG key in getfedore.org/static/fedora.gpg changed and caused the test to fail. Update to using the new key ID and save the GPG file in our S3 to prevent spontaneous changes/breakage.
-rw-r--r--test/integration/targets/apt_key/tasks/file.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/integration/targets/apt_key/tasks/file.yml b/test/integration/targets/apt_key/tasks/file.yml
index b538c29697..16b62736a0 100644
--- a/test/integration/targets/apt_key/tasks/file.yml
+++ b/test/integration/targets/apt_key/tasks/file.yml
@@ -1,11 +1,11 @@
- name: Get Fedora GPG Key
get_url:
- url: https://getfedora.org/static/fedora.gpg
+ url: https://ansible-ci-files.s3.us-east-1.amazonaws.com/test/integration/targets/apt_key/fedora.gpg
dest: /tmp/fedora.gpg
- name: Ensure clean slate
apt_key:
- id: 49FD77499570FF31
+ id: 1161AE6945719A39
state: absent
- name: Run apt_key with both file and keyserver
@@ -36,13 +36,13 @@
- name: remove fedora.gpg
apt_key:
- id: 49FD77499570FF31
+ id: 1161AE6945719A39
state: absent
register: remove_fedora
- name: add key from url
apt_key:
- url: https://getfedora.org/static/fedora.gpg
+ url: https://ansible-ci-files.s3.us-east-1.amazonaws.com/test/integration/targets/apt_key/fedora.gpg
register: apt_key_url
- name: verify key from url