mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Also change gpg key tasks
This commit is contained in:
parent
4a4f3db890
commit
1ecf6d21da
2 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,7 @@
|
|||
- name: Import forgejo gpg key
|
||||
ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --recv {{ gitea_forgejo_gpg_key }}"
|
||||
register: _gitea_import_key
|
||||
become: false
|
||||
changed_when: '"imported: 1" in _gitea_import_key.stderr'
|
||||
when: '_gitea_gpg_key_status.rc != 0 or "expired" in _gitea_gpg_key_status.stdout'
|
||||
|
||||
|
|
|
@ -61,6 +61,7 @@
|
|||
- name: Import gitea gpg key
|
||||
ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --recv {{ gitea_gpg_key }}"
|
||||
register: _gitea_import_key
|
||||
become: false
|
||||
changed_when: '"imported: 1" in _gitea_import_key.stderr'
|
||||
when: '_gitea_gpg_key_status.rc != 0 or "expired" in _gitea_gpg_key_status.stdout'
|
||||
|
||||
|
|
Loading…
Reference in a new issue