mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-12-27 19:00:18 +01:00
71b3f87308
This is useful for opting out from system-wide cryto policy for SSH or configuring advanced use case (strong RNG seed). Fixes: #141
10 lines
289 B
Django/Jinja
10 lines
289 B
Django/Jinja
# {{ ansible_managed }}
|
|
{% if __sshd_sysconfig_supports_crypto_policy %}
|
|
{% if sshd_sysconfig_override_crypto_policy == true %}
|
|
CRYPTO_POLICY=
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if __sshd_sysconfig_supports_use_strong_rng %}
|
|
SSH_USE_STRONG_RNG={{ sshd_sysconfig_use_strong_rng }}
|
|
{% endif %}
|