mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
import gpg key with the same user
import gpg key with the same user that will verify the gpg key. RESOLVE #29
This commit is contained in:
parent
f18e26cf9e
commit
4d3289a796
1 changed files with 0 additions and 1 deletions
|
@ -47,7 +47,6 @@
|
||||||
failed_when: _gitea_gpg_key_status.rc not in (0, 2)
|
failed_when: _gitea_gpg_key_status.rc not in (0, 2)
|
||||||
|
|
||||||
- name: Import gitea gpg key
|
- name: Import gitea gpg key
|
||||||
become: true
|
|
||||||
ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --recv {{ gitea_gpg_key }}"
|
ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --recv {{ gitea_gpg_key }}"
|
||||||
register: _gitea_import_key
|
register: _gitea_import_key
|
||||||
changed_when: '"imported: 1" in _gitea_import_key.stderr'
|
changed_when: '"imported: 1" in _gitea_import_key.stderr'
|
||||||
|
|
Loading…
Reference in a new issue