Ansible role to configure GnuPG. Intended to use on localhost
for
the current user.
Note that the role does not take care of installing gpg
itself.
None.
The following variables can be used to configure GnuPG. They are coming with a sane and fairly secure defaults. See defaults/main.yml for default values.
Configures ~/.gnupg/gpg.conf
. All configuration option goes
line-by-line into the config file.
gnupg_gpg_conf: |
cert-digest-algo SHA512
charset utf-8
fixed-list-mode
Configures ~/.gnupg/gpg-agent.conf
.
gnupg_gpg_agent_conf: |
default-cache-ttl 10
max-cache-ttl 10
Configures ~/.gnupg/scdaemon.conf
.
gnupg_scdaemon_conf: |
card-timeout 30
None.
- hosts: localhost
vars:
roles:
- agl4.gnupg
BSD