mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
add gitea_gpg_keyserver_option
This commit is contained in:
parent
51011fa3ac
commit
7e8b35642c
2 changed files with 2 additions and 1 deletions
|
@ -9,6 +9,7 @@ gitea_version_check: true
|
|||
gitea_gpg_key: '7C9E68152594688862D62AF62D9AE806EC1592E2'
|
||||
gitea_forgejo_gpg_key: 'EB114F5E6C0DC2BCDD183550A4B61A2DC5923710'
|
||||
gitea_gpg_server: 'hkps://keys.openpgp.org'
|
||||
gitea_gpg_keyserver_option: ''
|
||||
gitea_backup_on_upgrade: false
|
||||
gitea_backup_location: "{{ gitea_home }}/backups/"
|
||||
submodules_versioncheck: false
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
verbosity: 1
|
||||
|
||||
- name: Import gitea gpg key
|
||||
ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --recv {{ gitea_gpg_key }}"
|
||||
ansible.builtin.command: "gpg --keyserver {{ gitea_gpg_server }} --keyserver-option '{{ gitea_gpg_keyserver_option }}' --recv {{ gitea_gpg_key }}"
|
||||
register: _gitea_import_key
|
||||
become: false
|
||||
changed_when: '"imported: 1" in _gitea_import_key.stderr'
|
||||
|
|
Loading…
Reference in a new issue