agl4 / ansible-role-gnupg

Ansible role to configure GnuPG. Intended to use on localhost for the current user.

Home Page:https://galaxy.ansible.com/agoloncser/gnupg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desktop gnupg role

Molecule testing

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.

Requirements

None.

Role Variables

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.

gnupg_gpg_conf

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

gnupg_gpg_agent_conf

Configures ~/.gnupg/gpg-agent.conf.

  gnupg_gpg_agent_conf: |
    default-cache-ttl 10
    max-cache-ttl 10

gnupg_scdaemon_conf

Configures ~/.gnupg/scdaemon.conf.

  gnupg_scdaemon_conf: |
    card-timeout 30

Dependencies

None.

Example Playbook

  - hosts: localhost
    vars:
    roles:
       - agl4.gnupg

License

BSD

Author Information

@agl4

About

Ansible role to configure GnuPG. Intended to use on localhost for the current user.

https://galaxy.ansible.com/agoloncser/gnupg


Languages

Language:Jinja 100.0%