Add GPG key to gitconfig automatically

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2020-10-11 20:27:02 +02:00
parent 937c3f6263
commit 9fab75e3ef
No known key found for this signature in database
GPG key ID: 8535F3BCF69B3D69
2 changed files with 3 additions and 2 deletions

View file

@ -9,4 +9,5 @@
- role: git - role: git
vars: vars:
git_email: <insert-email> git_email: <insert-email>
gpg_signingkey: <insert-id>
- vscode - vscode

View file

@ -17,4 +17,4 @@
[user] [user]
name = Matej Focko name = Matej Focko
email = {{ git_email }} email = {{ git_email }}
signingkey = <insert-key> signingkey = {{ gpg_signingkey }}