feat(gnupg): add role for configuring gnupg with support to act as an ssh agent

This commit is contained in:
2022-08-18 22:20:24 +02:00
parent dafac3472a
commit 8315d822ee
6 changed files with 148 additions and 0 deletions

View File

@ -0,0 +1,13 @@
default-cache-ttl {{ gpg_agent_config_cache_ttl }}
default-cache-ttl-ssh {{ gpg_agent_config_cache_ttl_ssh }}
max-cache-ttl {{ gpg_agent_config_cache_ttl }}
max-cache-ttl-ssh {{ gpg_agent_config_cache_ttl_ssh }}
{% if not gpg_agent_config_allow_external_cache %}
no-allow-external-cache
{% endif %}
{% if gpg_agent_config_enable_ssh_support %}
enable-ssh-support
{% endif %}
{% if gpg_agent_config_ignore_cache_for_signing %}
ignore-cache-for-signing
{% endif %}