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.
This commit is contained in:
parent
a1ece49006
commit
c4e211a429
1 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
||||||
- name: Get Fedora GPG Key
|
- name: Get Fedora GPG Key
|
||||||
get_url:
|
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
|
dest: /tmp/fedora.gpg
|
||||||
|
|
||||||
- name: Ensure clean slate
|
- name: Ensure clean slate
|
||||||
apt_key:
|
apt_key:
|
||||||
id: 49FD77499570FF31
|
id: 1161AE6945719A39
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Run apt_key with both file and keyserver
|
- name: Run apt_key with both file and keyserver
|
||||||
|
@ -36,13 +36,13 @@
|
||||||
|
|
||||||
- name: remove fedora.gpg
|
- name: remove fedora.gpg
|
||||||
apt_key:
|
apt_key:
|
||||||
id: 49FD77499570FF31
|
id: 1161AE6945719A39
|
||||||
state: absent
|
state: absent
|
||||||
register: remove_fedora
|
register: remove_fedora
|
||||||
|
|
||||||
- name: add key from url
|
- name: add key from url
|
||||||
apt_key:
|
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
|
register: apt_key_url
|
||||||
|
|
||||||
- name: verify key from url
|
- name: verify key from url
|
||||||
|
|
Loading…
Reference in a new issue