Persist gpg passphrase entry
This commit is contained in:
parent
32751de977
commit
d9b915e596
@ -13,6 +13,13 @@
|
|||||||
dest: "/home/{{ account.name }}/bin/pinentry-wsl-ps1.sh"
|
dest: "/home/{{ account.name }}/bin/pinentry-wsl-ps1.sh"
|
||||||
mode: "0755"
|
mode: "0755"
|
||||||
|
|
||||||
|
- name: enable session persistence
|
||||||
|
become_user: "{{ account.name }}"
|
||||||
|
lineinfile:
|
||||||
|
path: "/home/{{ account.name }}/bin/pinentry-wsl-ps1.sh"
|
||||||
|
regexp: "^PERSISTENCE="
|
||||||
|
line: "PERSISTENCE=\"1\""
|
||||||
|
|
||||||
- name: ensure gpg-agent is installed
|
- name: ensure gpg-agent is installed
|
||||||
apt:
|
apt:
|
||||||
name: gpg-agent
|
name: gpg-agent
|
||||||
@ -25,5 +32,3 @@
|
|||||||
create: yes
|
create: yes
|
||||||
regexp: "^pinentry-program"
|
regexp: "^pinentry-program"
|
||||||
line: "pinentry-program /home/{{ account.name }}/bin/pinentry-wsl-ps1.sh"
|
line: "pinentry-program /home/{{ account.name }}/bin/pinentry-wsl-ps1.sh"
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user