summaryrefslogtreecommitdiff
path: root/roles/gnupg/handlers/main.yml
blob: d32d321d0e66748fc0b115193e3e8cd3abfe49ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: restart gpg-agent
  systemd:
    state: restarted
    name: gpg-agent.service
    scope: user
- name: notify add key to immae@immae.eu
  pause:
    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 -"
- name: notify add key to password store
  pause:
    prompt: "Please add the key to the password store and push: pass init -p Folder/Folder <key> <key>. Press key when done"