Skip to content

Commit

Permalink
Uses trusted.gpg.d instead of trusted.gpg
Browse files Browse the repository at this point in the history
  • Loading branch information
michielfuture500 committed Sep 12, 2023
1 parent d3db0c7 commit f542a74
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---

- name: Add the nginx.org trusted key
apt_key:
id: 7BD9BF62
url: http://nginx.org/keys/nginx_signing.key
ansible.builtin.get_url:
url: "http://nginx.org/keys/nginx_signing.key"
dest: /etc/apt/trusted.gpg.d/nginx.asc
mode: '0644'
force: true

- name: Add the nginx.org repository
apt_repository:
Expand Down

0 comments on commit f542a74

Please sign in to comment.