From c4e211a4291162c17054f44ad5381856ffff802f Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Tue, 23 Mar 2021 16:30:44 -0400 Subject: [PATCH] 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. --- test/integration/targets/apt_key/tasks/file.yml | 8 ++++---- 1 file 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 b538c29697e..16b62736a06 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