X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=roles%2Fgnupg%2Fhandlers%2Fmain.yml;h=7dc34c710538e038dd60a6dbbc6c75f2d7a3a4fd;hb=d0a835a44b3fd25267c3c8c6d3ed12e1e628816b;hp=d32d321d0e66748fc0b115193e3e8cd3abfe49ab;hpb=587b6dd6d2d3a63ad28455003c0c2c5f58afdecb;p=perso%2FImmae%2FConfig%2FAnsible.git diff --git a/roles/gnupg/handlers/main.yml b/roles/gnupg/handlers/main.yml index d32d321..7dc34c7 100644 --- a/roles/gnupg/handlers/main.yml +++ b/roles/gnupg/handlers/main.yml @@ -9,7 +9,7 @@ prompt: "gpg key will be sent to immae.eu, please login to tmux and give passwords there." seconds: 3 - name: send key to immae@immae.eu - shell: "gpg --armor --export ismael@flony | ssh immae@immae.eu add_workstation_key | gpg --import -" + shell: "gpg --armor --export {{ gpg_useremail }} | ssh immae@immae.eu add_workstation_key | gpg --import -" - name: notify add key to password store pause: prompt: "Please add the key to the password store and push: pass init -p Folder/Folder . Press key when done"