fix: support ssh allowedSignersFile and revocationFile
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2025-03-19 23:30:19 +01:00
parent 1765f54bfe
commit ab3618b924
4 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,9 @@
#
# {{ ansible_managed }}
#
{% if item.value.allowedSignersFile is defined and item.value.allowedSignersFile | length > 0%}
{% for entry in item.value.allowedSignersFile %}
{{ entry.principals | join(',') }} {{ entry.publicSSHKey }}
{% endfor %}
{% endif %}

View File

@ -0,0 +1,9 @@
#
# {{ ansible_managed }}
#
{% if item.value.revocationFile is defined and item.value.revocationFile | length > 0%}
{% for entry in item.value.revocationFile %}
{{ entry }}
{% endfor %}
{% endif %}