Skip to content

Commit

Permalink
Change apt_key_url to avoid redirection and possible breaking (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
4SH-gaupee authored Oct 19, 2024
1 parent 1777d8b commit 7cdd7b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/mongodb_repository/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ debian_packages:
- curl
- gnupg
debian:
apt_key_url: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc"
apt_key_url: "https://pgp.mongodb.com/server-{{ mongodb_version }}.asc"
apt_repository_repo: "deb{{ ' [ arch=amd64,arm64 ]' if ansible_facts.distribution == 'Ubuntu' else '' }} https://repo.mongodb.org/apt/{{ ansible_facts.distribution|lower }} {{ ansible_facts.distribution_release }}/mongodb-org/{{ mongodb_version }} {{ 'multiverse' if ansible_facts.distribution == 'Ubuntu' else 'main' }}"
redhat:
rpm_key_key: "https://www.mongodb.org/static/pgp/server-{{ mongodb_version }}.asc"
Expand Down

0 comments on commit 7cdd7b8

Please sign in to comment.