11 lines
311 B
Django/Jinja
11 lines
311 B
Django/Jinja
#
|
|
# {{ ansible_managed }}
|
|
#
|
|
{% for authorized_key in root.ssh.authorized_keys %}
|
|
{% if authorized_key.command is defined and authorized_key.command | length > 0 %}
|
|
command="{{ authorized_key.command }}" {{ authorized_key.content | trim }}
|
|
{% else %}
|
|
{{ authorized_key.content | trim }}
|
|
{% endif %}
|
|
{% endfor %}
|