X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAnsible.git;a=blobdiff_plain;f=roles%2Fgnupg%2Ftemplates%2Fgpg.conf.j2;fp=roles%2Fgnupg%2Ffiles%2Fgnupg%2Fgpg.conf;h=a9670805ccdae7d2cc6897255c8fd43baed61070;hp=17bc52278888651ba9b9fb7a8e6c62a48192c282;hb=dfd05afe7215e75ba2d34cc4cbc73ed8e10452bf;hpb=dd308b2f8fdd6cfb2aec4778c347a7d156a0d754 diff --git a/roles/gnupg/files/gnupg/gpg.conf b/roles/gnupg/templates/gpg.conf.j2 similarity index 55% rename from roles/gnupg/files/gnupg/gpg.conf rename to roles/gnupg/templates/gpg.conf.j2 index 17bc522..a967080 100644 --- a/roles/gnupg/files/gnupg/gpg.conf +++ b/roles/gnupg/templates/gpg.conf.j2 @@ -1,7 +1,7 @@ # Main signing key -default-key DB1CFE90 +default-key {{ gpg_sign_id }} default-recipient-self -encrypt-to 0326A611 +encrypt-to {{ gpg_sign_id }} auto-key-retrieve no-greeting