roles/nginx: update signing key
This commit is contained in:
parent
545684467c
commit
c31e447861
@ -7,14 +7,6 @@
|
|||||||
- packages
|
- packages
|
||||||
- nginx
|
- nginx
|
||||||
|
|
||||||
- name: Check nginx apt signing key
|
|
||||||
ansible.builtin.stat:
|
|
||||||
path: /usr/share/keyrings/nginx_signing.key
|
|
||||||
register: nginx_signing_key_stat
|
|
||||||
tags:
|
|
||||||
- packages
|
|
||||||
- nginx
|
|
||||||
|
|
||||||
- name: Download nginx apt signing key
|
- name: Download nginx apt signing key
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: https://nginx.org/keys/nginx_signing.key
|
url: https://nginx.org/keys/nginx_signing.key
|
||||||
@ -22,8 +14,8 @@
|
|||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
mode: "0644"
|
mode: "0644"
|
||||||
|
checksum: sha256:55385da31d198fa6a5012d40ae98ecb272a6c4e8fffffba94719ffd3e87de37a
|
||||||
register: download_nginx_signing_key
|
register: download_nginx_signing_key
|
||||||
when: not nginx_signing_key_stat.stat.exists
|
|
||||||
tags:
|
tags:
|
||||||
- packages
|
- packages
|
||||||
- nginx
|
- nginx
|
||||||
|
Loading…
Reference in New Issue
Block a user