nginxinc / ansible-role-nginx

Ansible role for installing NGINX
https://galaxy.ansible.com/nginxinc/nginx
Apache License 2.0
644 stars 348 forks source link

GPG invalid signatures #731

Closed leandroembu closed 4 months ago

leandroembu commented 4 months ago

Describe the bug

There's some invalid GPG signatures on Debian 11 and 12

To reproduce

Steps to reproduce the behavior:

  1. Deploy the Ansible NGINX role using playbook.yml
  2. Try to update target system with apt update & apt upgrade
  3. See error:

W: Failed to fetch https://nginx.org/packages/mainline/debian/dists/bookworm/InRelease The following signatures were invalid: EXPKEYSIG ABF5BD827BD9BF62 nginx signing key <signing-key@nginx.com>

Expected behavior

A working update with no signature issues.

Your environment

inntran commented 4 months ago

Have you tried switch to use the main branch? I faced same issue of RPM distros. My requirements.yml:

roles: 
  - name: nginxinc.nginx
    version: 'a34243d8d8ba136d0d291c13b48ec95e3e9c8f3c' # up-to-date main branch as of 2024-07-10
    src: https://github.com/nginxinc/ansible-role-nginx
inntran commented 4 months ago

Root cause: #730

alessfg commented 4 months ago

A new version of the role has been released! This issue should now be fixed 😄