Add changed_when to gpg command
This commit is contained in:
parent
231da79a9c
commit
42d3c7eb40
1 changed files with 2 additions and 0 deletions
|
@ -103,6 +103,8 @@
|
|||
|
||||
- name: Verify downloaded binary - recv pgp key
|
||||
command: gpg --keyserver hkps://keys.openpgp.org --recv 7C9E68152594688862D62AF62D9AE806EC1592E2
|
||||
register: result
|
||||
changed_when: '"not changed" not in result.stderr'
|
||||
|
||||
- name: Verify downloaded binary - verify with gpg
|
||||
command: "gpg --verify /tmp/gitea-{{ gitea_binary.json.latest.version }}.asc /home/git/gitea-{{ gitea_binary.json.latest.version }}"
|
||||
|
|
Loading…
Reference in a new issue