diff --git a/roles/user/git/templates/gitconfig b/roles/user/git/templates/gitconfig index 38ecf82..29fa1cb 100644 --- a/roles/user/git/templates/gitconfig +++ b/roles/user/git/templates/gitconfig @@ -33,8 +33,12 @@ cmd = code --wait --diff $LOCAL $REMOTE [gpg] + # format = ssh program = gpg2 +[gpg "ssh"] + allowedSignersFile = /home/{{ target_user }}/.ssh/allowed_signers + [init] defaultBranch = main