Unable to install jenkins-2.346.2-1.1.noarch with jenkins.io.key

I am attempting to install Jenkins 2.346.2 on an Amazon Linux 2 running Java 1.8 OpenJDK and I’m running into an error that indicates to me that the package has not been signed by the jenkins.io.key GPG key:

warning: /var/cache/yum/x86_64/2/jenkins/packages/jenkins-2.346.2-1.1.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID 45f2c3d5: NOKEY
Importing GPG key 0xEF5975CA:
Userid : "Jenkins Project jenkinsci-board@googlegroups.com"
Fingerprint: 6366 7ee7 4bba 1f0a 08a6 9872 5ba3 1d57 ef59 75ca
From : https://pkg.jenkins.io/redhat-stable/jenkins.io.key

Public key for jenkins-2.346.2-1.1.noarch.rpm is not installed

Failing package is: jenkins-2.346.2-1.1.noarch
GPG Keys are configured as: https://pkg.jenkins.io/redhat-stable/jenkins.io.key

", "rc": 1, "results": ["Loaded plugins: extras_suggestions, langpacks, priorities, update-motd
225 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package jenkins.noarch 0:2.346.2-1.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

Package Arch Version Repository Size
jenkins noarch 2.346.2-1.1 jenkins 87 M

Transaction Summary
Install 1 Package

Total download size: 87 M
Installed size: 87 M
Downloading packages:
Public key for jenkins-2.346.2-1.1.noarch.rpm is not installed
Retrieving key from https://pkg.jenkins.io/redhat-stable/jenkins.io.key

This version of Jenkins is the latest LTS version that supports Java 8 (which we’re “stuck” on for now) that I could find. The other key that I see mentioned, jenkins.io-2023.key, is for Jenkins 2.397 or later.

Is there another key that I should be using, or am I doing something incorrectly? By the way, my coworker used the same ansible playbook (think of it as a script) to install Jenkins was on May 22nd and he did not have to deal with this issue.

I will post my ansible code if it helps (basically it is getting the Jenkins git repo using the jenkins.io.key to configure yum, and then installing Jenkins):

- name: install jenkins repo
    name: jenkins
    state: present
    description: Official Jenkins Yum Repo
    baseurl: http://pkg.jenkins.io/redhat-stable
    gpgkey: https://pkg.jenkins.io/redhat-stable/jenkins.io.key
    gpgcheck: yes
    enabled: yes
  - configure-only
  - jenkins
- name: install jenkins
    name: jenkins-2.346.2
    state: present