0
0

Gitea: use pinentry-curses

This commit is contained in:
Opnxng 2024-11-27 20:32:53 +08:00
parent 4b5a13a0de
commit a79560ac34
2 changed files with 12 additions and 4 deletions

View File

@ -83,5 +83,13 @@
- name: Add pinentry-program to gpg-agent.conf on control host - name: Add pinentry-program to gpg-agent.conf on control host
lineinfile: lineinfile:
path: "{{ gnupg_folder }}/gpg-agent.conf" path: "{{ gnupg_folder }}/gpg-agent.conf"
line: "pinentry-program /usr/bin/pinentry-gnome3" line: "pinentry-program /usr/bin/pinentry-curses"
delegate_to: "{{ control_host }}" delegate_to: "{{ control_host }}"
- name: Add ssh support to gpg-agent.conf on control host
lineinfile:
path: "{{ gnupg_folder }}/gpg-agent.conf"
line: "enable-ssh-support"
delegate_to: "{{ control_host }}"

View File

@ -1,6 +1,6 @@
compose: config:
vultr: oracle3:
- standardnotes - gitea-netrc
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------