Skip to content

Commit 16a304b

Browse files
authored
Merge pull request roles-ansible#102 from Cadair/gpg_verify
Don't become for gpg verify
2 parents aff7347 + 6f47cad commit 16a304b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tasks/install_forgejo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
when: '_gitea_gpg_key_status.rc != 0 or "expired" in _gitea_gpg_key_status.stdout'
6767

6868
- name: Check archive signature
69+
become: false
6970
ansible.builtin.command: "gpg --verify /tmp/{{ gitea_filename }}.asc /tmp/{{ gitea_filename }}"
7071
changed_when: false
7172

0 commit comments

Comments
 (0)