mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
Merge pull request #30 from roles-ansible/gpg
import gpg key with the same user
This commit is contained in:
commit
0a6ec0f95f
2 changed files with 1 additions and 2 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'
|
||||||
|
|
|
@ -20,5 +20,5 @@ gitea_variables:
|
||||||
paths:
|
paths:
|
||||||
- 'vars'
|
- 'vars'
|
||||||
|
|
||||||
playbook_version_number: 11 # should be int
|
playbook_version_number: 12 # should be int
|
||||||
playbook_version_path: 'do1jlr.gitea.version'
|
playbook_version_path: 'do1jlr.gitea.version'
|
||||||
|
|
Loading…
Reference in a new issue