Make pinentry program a templated variable.
This commit is contained in:
@@ -19,11 +19,20 @@
|
||||
loop:
|
||||
- src: gpg.conf
|
||||
dest: .gnupg/gpg.conf
|
||||
- src: gpg-agent.conf
|
||||
dest: .gnupg/gpg-agent.conf
|
||||
- src: scdaemon.conf
|
||||
dest: .gnupg/scdaemon.conf
|
||||
|
||||
- name: Copy templates
|
||||
template:
|
||||
src: "templates/{{ item.src }}.j2"
|
||||
dest: "{{ account_homedir.stdout }}/{{ item.dest }}"
|
||||
mode: 0600
|
||||
owner: "{{ account_name.stdout }}"
|
||||
group: "{{ group_name.stdout }}"
|
||||
loop:
|
||||
- src: gpg-agent.conf
|
||||
dest: .gnupg/gpg-agent.conf
|
||||
|
||||
- name: Check trusted gpg keys
|
||||
command: gpg --list-public-keys --keyid-format LONG
|
||||
register: gpgkeys
|
||||
|
||||
Reference in New Issue
Block a user