1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00

root_ssh: Add variable to define additional keys

Introduce "root_additional_keys" variable allowing us to deploy
additional root keys with our "root_ssh" role

Signed-off-by: moson <moson@archlinux.org>
This commit is contained in:
moson 2023-08-21 09:30:37 +02:00
parent 5effc3f0aa
commit 28c73cf559
No known key found for this signature in database
GPG Key ID: 4A4760AB4EE15296

@ -9,3 +9,8 @@
{% endif %}
{% endif %}
{% endfor %}
{% if root_additional_keys is defined %}
{% for pubkey in root_additional_keys -%}
{{ lookup('file', role_path + '/../../pubkeys/' + pubkey ) }}
{% endfor %}
{% endif %}