From a79560ac3468b6f36849538d3839c21e63646556 Mon Sep 17 00:00:00 2001 From: Opnxng Date: Wed, 27 Nov 2024 20:32:53 +0800 Subject: [PATCH] Gitea: use pinentry-curses --- config-tasks/gitea-netrc.yaml | 10 +++++++++- vars/services.yaml | 6 +++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/config-tasks/gitea-netrc.yaml b/config-tasks/gitea-netrc.yaml index fa89d73..e1fe874 100644 --- a/config-tasks/gitea-netrc.yaml +++ b/config-tasks/gitea-netrc.yaml @@ -83,5 +83,13 @@ - name: Add pinentry-program to gpg-agent.conf on control host lineinfile: path: "{{ gnupg_folder }}/gpg-agent.conf" - line: "pinentry-program /usr/bin/pinentry-gnome3" + line: "pinentry-program /usr/bin/pinentry-curses" 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 }}" + + diff --git a/vars/services.yaml b/vars/services.yaml index 38161a0..8467929 100644 --- a/vars/services.yaml +++ b/vars/services.yaml @@ -1,6 +1,6 @@ -compose: - vultr: - - standardnotes +config: + oracle3: + - gitea-netrc # ----------------------------------------------------------------------------------------------------